Update sfToolkit to use preg_replace_callback instead of /e modifier
|Assignee:||Dan Gillean||% Done:|
|Category:||-||Estimated time:||2.00 hours|
|Target version:||Release 2.2.0|
|Google Code Legacy ID:||Tested version:|
It seems that this is the only missing piece of our copy of Symfony 1.4 still using the /e modifier.
Only E_DEPRECATED is emitted in PHP 5.5, but we should fix it anyways.
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jesus/www/atom-2/vendor/symfony/lib/util/sfToolkit.class.php on line 362
#4 Updated by José Raddaoui Marín about 7 years ago
It looks like this may have been already fixed:
But I've found a couple of places where the /e modifier is used:
Not sure if the one in the Doctrine plugin for Oracle worths the time as we use Propel and MySql, but we may want to fix the one in sfTask.
#6 Updated by Jesús García Crespo about 7 years ago
- Status changed from Code Review to QA/Review
- Assignee changed from Jesús García Crespo to Dan Gillean
Let's test in php5.3 and php5.5. Make sure that tasks are working on both versions, because the latest change is making one change in that area of the application. See 5d4a5d1b4342f7181f49c007258baf701fa5d02e.
I'll show you how to test on php5.3.