Lester Caine in php.internals (Tue, 04 Sep 2012 22:30:34 +0100): >Jan Ehrhardt wrote: >> Rasmus Lerdorf in php.internals (Tue, 04 Sep 2012 13:15:50 -0700): >>> >Just call error_reporting() at the beginning of your script. > >> Which ain't possible in drupal (or hardly). You do not write any code. >> You just click together modules, written by others. > >Actually Jan - Rasmus is right here - we just have to fix these applications >to >bypass problems. It's just a matter of someone who knows how to advancing the >information. But it would be nice if projects like Drupal would indicate what >they plan to do to bring their code in line with PHP's current 'standards'?
Drupal has four options for running under 5.4: 1. Turn E_STRICT off by default 2. Turn E_STRICT on by default 3. Do not mess around with system settings 4. Implement their own error_reporting setting, completely configurable (1) is not exactly bringing drupal in line with the current standards. It is a workaround. (2) and (3) will lead to loads of issues in those thousands of modules. (4) seems to me the only reasonable way out. >Or if not, simply provide the configuration necessary for it to run without >problems on each version of PHP? That would be (4) imo. However, there is no sign at all that the issue has ever attracted the full attention of one of the core developers. If you look at http://drupal.org/node/1267246 the current choice for drupal8 seems to be (3). "Needs backport to drupal7" ... I will leave it with this, because it is way off topic in the internals list. Jan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php