-
-
Save jeremykendall/5729040 to your computer and use it in GitHub Desktop.
This was the reason I sent the "DIRECTORY_SEPARATOR" does not exist tweet (https://twitter.com/jeremykendall/status/342985273774321665). Boy am I embarrassed.
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 -v | |
PHP 5.3.14 (cli) (built: Aug 24 2012 12:56:43) | |
Copyright (c) 1997-2012 The PHP Group | |
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies | |
# php -a | |
Interactive shell | |
php > var_dump(directory_separator) | |
php > var_dump(DIRECTORY_SEPARATOR); | |
PHP Parse error: syntax error, unexpected T_STRING in php shell code on line 2 | |
php > var_dump(PATH_SEPARATOR); | |
string(1) ":" | |
php > exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment