Page 1 of 1

I can't believe this works..

Posted: Mon Sep 29, 2008 8:34 am
by panic!
Image


and the result:

Image

Re: I can't believe this works..

Posted: Mon Sep 29, 2008 8:42 am
by VladSun
Function names follow the same rules as other labels in PHP. A valid function name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thus: [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*.
I think that this "heart" symbol should be in 7f-ff range ...

Re: I can't believe this works..

Posted: Mon Sep 29, 2008 8:54 am
by panic!
it's quite sweet.

I wonder how portable it is. I had to promote the file from ASCII to UTF-8.

I'm editing the file on a Linux box from my mac. Do you think it would work on a Windows server?

Re: I can't believe this works..

Posted: Mon Sep 29, 2008 9:05 am
by The_Anomaly
panic! wrote:Image


and the result:

Image
This is all kinds of awesome :D

Re: I can't believe this works..

Posted: Mon Sep 29, 2008 9:20 am
by papa
Oooh finally I can wrote a function to the people I love. :)

Re: I can't believe this works..

Posted: Mon Sep 29, 2008 10:06 am
by panic!
you could definitely make some kind of easter egg in your code, or valentines egg in this case. :)

Re: Good health

Posted: Mon Sep 29, 2008 4:01 pm
by markusn00b
Lihualee wrote:bump up ..
Why bump?

And, this doesn't work for me. :(

Re: I can't believe this works..

Posted: Mon Sep 29, 2008 5:02 pm
by panic!
What's your set up dude?