Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

replace deprecated preg_replace(//e) with preg_replace_callback #45

Closed
wants to merge 1 commit into from
Closed

Conversation

timapple
Copy link

@timapple timapple commented Oct 2, 2013

No description provided.

@dennisoehme
Copy link

+1, because it's deprecated in PHP 5.5:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/share/www/rockmongo/rock.php on line 449

@grigio
Copy link

grigio commented Nov 25, 2013

+1 currently I silented the php deprecation warnings

@myurasov
Copy link

Merged into https://github.com/myurasov/rockmongo.

@mitsuhiko
Copy link

Found this commit randomly when googeling for something. create_function creates a function that sticks around until the end of the execution (request probably). You probably want to use an anonymous function or a normal function instead.

@iwind
Copy link
Owner

iwind commented Jun 5, 2014

fixed in 1.1.6

@iwind iwind closed this Jun 5, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants