[Phpmyadmin-git] [phpmyadmin/phpmyadmin] a94027: Optimize stripping b' prefix and ' suffix

Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: a940279dffa2a6e30040e72c58ddda40cd687a9f https://github.com/phpmyadmin/phpmyadmin/commit/a940279dffa2a6e30040e72c58dd... Author: Michal Čihař <michal@cihar.com> Date: 2015-02-27 (Fri, 27 Feb 2015) Changed paths: M libraries/Util.class.php Log Message: ----------- Optimize stripping b' prefix and ' suffix Use ltrim/rtrim is better than strtr with array. Signed-off-by: Michal Čihař <michal@cihar.com> Commit: a6713cf7719405428c9f03b42432540a1c18453e https://github.com/phpmyadmin/phpmyadmin/commit/a6713cf7719405428c9f03b42432... Author: Michal Čihař <michal@cihar.com> Date: 2015-02-27 (Fri, 27 Feb 2015) Changed paths: M libraries/plugins/export/ExportCodegen.class.php Log Message: ----------- First resolve method name and then use it Otherwise this fails with PHP 7 (-> is evaluated before [], so we're dereferencing object by array). Signed-off-by: Michal Čihař <michal@cihar.com> Compare: https://github.com/phpmyadmin/phpmyadmin/compare/df3cbdb4423b...a6713cf77194
participants (1)
-
Michal Čihař