The 5th Annual China PHP Conference

Voting

Please answer this simple SPAM challenge: min(six, nine)?
(Example: nine)

The Note You're Voting On

ohcc at 163 dot com
8 months ago
use " instead of ' on windows when using the cli version with -r

php -r "echo 1"
-- correct

php -r 'echo 1'
  PHP Parse error:  syntax error, unexpected ''echo' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in Command line code on line 1

<< Back to user notes page

To Top