|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-12-06 10:22 UTC] eru@php.net
[2022-08-23 05:45 UTC] giw42161 at uooos dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 19:00:02 2025 UTC |
Description: ------------ i cant call a method(function) inside the function empty Reproduce code: --------------- if(!empty($this->GetOpen())) { ... ... ... } . . . function GetAbrir() { return $this->abrir; } Expected result: ---------------- i expected that the if return true or false. error: Parse error: parse error, unexpected '(', expecting ')' in C:\Inetpub\wwwroot\scriptcase2\devel\class\page\nmPageWizardForm.class.php on line 125 and the variable abrir is empty initialized in the constructor of the class Actual result: -------------- a