PHP Doku:: Backward Incompatible Changes - migration53.incompatible.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchAppendicesMigrating from PHP 5.2.x to PHP 5.3.xBackward Incompatible Changes

Ein Service von Reinhard Neidl - Webprogrammierung.

Migrating from PHP 5.2.x to PHP 5.3.x

<<What has changed in PHP 5.3.x

New features>>

Backward Incompatible Changes

Although most existing PHP 5 code should work without changes, please take note of some backward incompatible changes:

The following keywords are now reserved and may not be used in function, class, etc. names.


6 BenutzerBeiträge:
- Beiträge aktualisieren...
mahbub at mahbubblog dot com
22.09.2010 6:36
If you're having the mysql connectivity problem for the short password format,there is a fix written by Mixu here

http://tinyurl.com/324pjer
Boris 'borzakov' Ploujoux
14.09.2010 15:17
For those who often use the short open tag notations <? ... ?> and mostly <?= $var ?> (useful for template files) instead of standard notation <?php ... ?> : be careful !

In 5.3 version, the setting directive of the first notation is not PHP_INI_ALL anymore but PHP_INI_PERDIR.
In other words, you can't enable the "short_open_tag" directive directly with ini_set() function anymore ; you'll now have to set it in php.ini or httpd.conf (if you have access to it), or per-dir with .htaccess files.

See : http://www.php.net/manual/en/ini.core.php#ini.short-open-tag
munaw at munaw dot com
25.08.2010 17:32
gd_info():
    Note:
    Previous to PHP 5.3.0, the JPEG Support attribute was named JPG Support.

Be aware of this, in case you verify GD image support by this attribute!
mitek17 sobaka gmail.com
14.04.2010 20:42
After php version > 5.2.9 flush() stopped working. As a result the  output buffer will not be returned at all.
scott dot mcnaught at synergy8 dot com
7.10.2009 16:34
fopen('/dev/stdin/') no longer works
use fopen('php://stdin') instead

Cheers,
Scott
Chris Bolt
16.09.2009 4:03
call_user_func_array() no longer accepts null as a second parameter and calls the function. It now emits a warning and does not call the function.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)