Last active
August 29, 2015 14:25
-
-
Save FredLeg/545080072c7a3776ee80 to your computer and use it in GitHub Desktop.
Remplacement: $movie['actors'] ---> $movie->actors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$movie['actors'] ---> $movie->actors | |
Fine what: \$(?!_)([a-zA-Z0-9_]+)\[['"]([a-zA-Z0-9_]+)['"]\] | |
Replace with: \$$1->$2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment