Created
June 6, 2013 19:25
-
-
Save jordanorelli/5724186 to your computer and use it in GitHub Desktop.
siiiggghhhhhhh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Foo { | |
const a = 1; | |
const b = 4; | |
const c = 1 | 4; | |
} | |
echo "a: " . Foo::a . "\n"; | |
echo "b: " . Foo::b . "\n"; | |
echo "c: " . Foo::c . "\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
output:
Parse error: syntax error, unexpected '|', expecting ',' or ';' in ....php on line 6
...figures.