|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-07 13:59 UTC] joustin at plusnet dot pl
[2001-08-07 14:04 UTC] alindeman@php.net
[2001-08-07 14:15 UTC] joustin at plusnet dot pl
[2001-08-07 14:17 UTC] alindeman@php.net
[2003-05-31 10:42 UTC] andrey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |
Hello! This seems quite odd... In the ... function() or dosomething; ...construct it seems that PHP only allows the usage of standard operators and functions in the place of "dosomething", so the 'return' doesn't work at all since it's a operator-like thingy. The following snippet will produce a parse error: ---------------------- function test(){ return false; }; function test2(){ test() or return; } ---------------------- Thanks in advance for a quick fix :) Keep up the good work!