Opened 12 years ago

Closed 12 years ago

#34976 closed enhancement (invalid)

php5 @5.3.12 Fix for ability to disable E_STRICT

Reported by: ibadinov@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: php53

Description

PHP 5.3 has a bug: E_SRTICT is not included in E_ALL and thus can not be disabled.
There is only one line in Zend/zend_errors.h that need to be changed to fix this issue.
-p1 patch is attached

Attachments (1)

patch-Zend-zend_errors.h.diff (770 bytes) - added by ibadinov@… 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by ibadinov@…

comment:1 Changed 12 years ago by ibadinov@…

Cc: ibadinov@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; ibadinov@… removed
Resolution: invalid
Status: newclosed

It is not a bug that E_STRICT is not included in E_ALL; it is intentional and documented in the PHP documentation: http://php.net/manual/en/migrating5.errorrep.php

If you still believe this should be changed, please file a bug report with the developers of PHP. If and when they change it and release a new version of PHP containing the change, MacPorts will update to the new version.

Note: See TracTickets for help on using tickets.