php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55371
Patch bug55371.patch revision 2011-11-12 11:21 UTC by david dot zuelke at bitextender dot com
revision 2011-11-12 11:04 UTC by david dot zuelke at bitextender dot com

Patch bug55371.patch for Safe Mode/open_basedir Bug #55371

Patch version 2011-11-12 11:21 UTC

Return to Bug #55371 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions: 2011-11-12 11:21 UTC | 2011-11-12 11:04 UTC

Developer: david.zuelke@bitextender.com



  +	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
 Index: ext/standard/tests/general_functions/get_magic_quotes_runtime.phpt
 ===================================================================
 --- ext/standard/tests/general_functions/get_magic_quotes_runtime.phpt	(revision 319095)
 +++ ext/standard/tests/general_functions/get_magic_quotes_runtime.phpt	(working copy)
 @@ -18,14 +18,10 @@
  ===DONE===
  --EXPECTF--
  Simple testcase for get_magic_quotes_runtime() function
 -
 -Deprecated: Function get_magic_quotes_runtime() is deprecated in %s on line %d
  bool(false)
  
  -- Error cases --
  
 -Deprecated: Function get_magic_quotes_runtime() is deprecated in %s on line %d
 -
  Warning: get_magic_quotes_runtime() expects exactly 0 parameters, 1 given in %s on line %d
  NULL
  ===DONE===
 Index: ext/standard/tests/general_functions/get_magic_quotes_gpc.phpt
 ===================================================================
 --- ext/standard/tests/general_functions/get_magic_quotes_gpc.phpt	(revision 319095)
 +++ ext/standard/tests/general_functions/get_magic_quotes_gpc.phpt	(working copy)
 @@ -17,14 +17,10 @@
  ===DONE===
  --EXPECTF--
  Simple testcase for get_magic_quotes_gpc() function
 -
 -Deprecated: Function get_magic_quotes_gpc() is deprecated in %s on line %d
  bool(false)
  
  -- Error cases --
  
 -Deprecated: Function get_magic_quotes_gpc() is deprecated in %s on line %d
 -
  Warning: get_magic_quotes_gpc() expects exactly 0 parameters, 1 given in %s on line %d
  NULL
  ===DONE===
 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--
 Index: ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt
 ===================================================================
 --- ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt	(revision 319095)
 +++ ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt	(working copy)
 @@ -28,8 +28,6 @@
  --EXPECTF--
  Simple testcase for set_magic_quotes_runtime() function - basic test
  
 -Deprecated: Function get_magic_quotes_runtime() is deprecated in %s on line %d
 -
  -- magic quotes runtime set in INI file: --
  
  -- Set magic quotes runtime to 0:  --
 @@ -37,8 +35,6 @@
  Deprecated: Function set_magic_quotes_runtime() is deprecated in %s on line %d
  bool(false)
  
 -Deprecated: Function get_magic_quotes_runtime() is deprecated in %s on line %d
 -
  -- magic quotes runtime after set:  --
  
  -- Set magic quotes runtime to 1:  --
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 16:01:29 2024 UTC