Garvin Hicking a écrit :
Hi All!
Just to sum this all up:
I've entered Sebastians short code of reproduction in the PHP bugtracker and then was notified that this had already been tracked:
http://bugs.php.net/bug.php?id=35995
This bureport confirms what I stated first: The way of specifying preg_match($string, $pattern, $matches = array()) is invalid, and the bug was that it worked in earlier versions - not that it stopped working now. Still a BC-break, but it seems that the PHP people don't mind about that. :-/
The last post in the tracker says: --------- [15 Jan 10:16pm CET] derick@php.net
Jani, I discussed this with Ilia earlier today and it *is* a BC breaking change in PHP 5.1.2 - all other versions do not do this (including PHP 4.4.x or 5.1.1). Therefore it is a bug and it should be addressed. Dmitry, if you feel otherwise, please close it then. ---------
So it's not yet clear what will happen with back compatibility.
Marc