New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34976 (closed enhancement: invalid)

Opened 12 months ago

Last modified 12 months ago

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@…
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

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

Change History

Changed 12 months ago by ibadinov@…

comment:1 Changed 12 months ago by ibadinov@…

  • Cc ibadinov@… added

Cc Me!

comment:2 Changed 12 months ago by ryandesign@…

  • Status changed from new to closed
  • Cc ryandesign@… added; ibadinov@… removed
  • Resolution set to invalid

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.