|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-02-22 11:57 UTC] derick@php.net
[2004-02-22 17:41 UTC] tip at tut dot by
[2004-02-22 17:46 UTC] edink@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 24 08:00:02 2025 UTC |
Description: ------------ I don't know if it is an omission in manual but while executing next string from "Chapter 8. Using PHP from the command line", an error occured. Reproduce code: --------------- php -r 'print_r(get_defined_constants());' Expected result: ---------------- php -r "print_r(get_defined_constants());" Array ( [E_ERROR] => 1 [E_WARNING] => 2 [E_PARSE] => 4 ... Actual result: -------------- PHP Parse error: parse error, unexpected $end in Command line code on line 1 Parse error: parse error, unexpected $end in Command line code on line 1