note 59395 added to migration5.incompatible
| From: | Mike at osu1 dot php dot net | Date: | Mon, 05 Dec 2005 21:10:43 +0000 |
| Subject: | note 59395 added to migration5.incompatible | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99606@lists.php.net to get a copy of this message | ||
I have been developing code in PHP5, which suddenly shall run on PHP4. I used some PHP5 feature
(such as "private" keyword), upon which PHP4 obviously complains.
I tried a C-like idea of "define('private', '');", but it didn't
work. Is there any smart way to keep the code more or less unmodified, and still running on PHP4?
----
Manual Page -- http://www.php.net/manual/en/migration5.incompatible.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59395
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59395&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59395&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59395&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59395&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59395&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59395&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59395&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59395&report=yes
Search -- http://master.php.net/manage/user-notes.php