Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.9.0

Bug #8058 php 5 cnstants undefined when running on php 4
Submitted: 2006-06-28 15:16 UTC
From: giunta dot gaetano at sea-aeroportimilano dot it Assigned: farell
Status: Closed Package: PHP_CompatInfo (version CVS)
PHP Version: 4.4.2 OS: windows 2000
Roadmaps: (Not assigned)    
Subscription  


 [2006-06-28 15:16 UTC] giunta dot gaetano at sea-aeroportimilano dot it (Gaetano Giunta)
Description: ------------ When running the compatinfo test on php 4.4, the php 5 constants are undefined. qwik fix: on line 365 of compatinfo.php you might add: if (!defined('T_ABSTRACT')) { define('T_ABSTRACT', 345); define('T_CATCH', 337); define('T_FINAL' => 344); define('T_INSTANCEOF' => 288); define('T_PRIVATE' => 343); define('T_PROTECTED' => 342); define('T_PUBLIC' => 341); define('T_THROW' => 338); define('T_TRY' => 336); define('T_CLONE' => 298); define('T_INTERFACE' => 353); define('T_IMPLEMENTS' => 355); }

Comments

 [2006-06-28 20:16 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-06-28 21:00 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!