![]() |
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch bug55371.patch for Safe Mode/open_basedir Bug #55371Patch version 2011-11-12 11:04 UTC Return to Bug #55371 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: david.zuelke@bitextender.comIndex: ext/standard/basic_functions.c =================================================================== --- ext/standard/basic_functions.c (revision 319095) +++ ext/standard/basic_functions.c (working copy) @@ -2959,8 +2959,8 @@ PHP_DEP_FALIAS(magic_quotes_runtime, set_magic_quotes_runtime, arginfo_set_magic_quotes_runtime) PHP_DEP_FE(set_magic_quotes_runtime, arginfo_set_magic_quotes_runtime) - PHP_DEP_FE(get_magic_quotes_gpc, arginfo_get_magic_quotes_gpc) - PHP_DEP_FE(get_magic_quotes_runtime, arginfo_get_magic_quotes_runtime) + PHP_FE(get_magic_quotes_gpc, arginfo_get_magic_quotes_gpc) + PHP_FE(get_magic_quotes_runtime, arginfo_get_magic_quotes_runtime) PHP_FE(error_log, arginfo_error_log) PHP_FE(error_get_last, arginfo_error_get_last) Index: ext/standard/tests/general_functions/bug55371.phpt =================================================================== --- ext/standard/tests/general_functions/bug55371.phpt (revision 0) +++ ext/standard/tests/general_functions/bug55371.phpt (revision 0) @@ -0,0 +1,10 @@ +--TEST-- +Bug #55371 (get_magic_quotes_gpc() and get_magic_quotes_runtime() throw deprecated warning) +--FILE-- +<?php + +get_magic_quotes_gpc(); +get_magic_quotes_runtime(); + +?> +--EXPECT-- |
![]() All rights reserved. |
Last updated: Wed Apr 09 12:01:28 2025 UTC |