10 changed files with 92 additions and 46 deletions
-
2ext/standard/Makefile.in
-
35ext/standard/basic_functions.c
-
6ext/standard/crypt.c
-
11ext/standard/datetime.c
-
4ext/standard/dl.h
-
13ext/standard/dns.c
-
6ext/standard/microtime.c
-
27ext/standard/php_noavail.c
-
27ext/standard/php_noavail.h
-
7main/php.h
@ -0,0 +1,27 @@ |
|||
/* |
|||
+----------------------------------------------------------------------+ |
|||
| PHP version 4.0 | |
|||
+----------------------------------------------------------------------+ |
|||
| Copyright (c) 1997, 1998, 1999, 2000 The PHP Group | |
|||
+----------------------------------------------------------------------+ |
|||
| This source file is subject to version 2.02 of the PHP license, | |
|||
| that is bundled with this package in the file LICENSE, and is | |
|||
| available at through the world-wide-web at | |
|||
| http://www.php.net/license/2_02.txt. | |
|||
| If you did not receive a copy of the PHP license and are unable to | |
|||
| obtain it through the world-wide-web, please send a note to | |
|||
| license@php.net so we can mail you a copy immediately. | |
|||
+----------------------------------------------------------------------+ |
|||
| Authors: Hartmut Holzgraefe <hartmut@six.de> | |
|||
+----------------------------------------------------------------------+ |
|||
*/ |
|||
|
|||
#include "php_noavail.h" |
|||
|
|||
PHP_FUNCTION(warn_not_available) |
|||
{ |
|||
php_error(E_WARNING, |
|||
"%s() is not supported in this PHP build", |
|||
get_active_function_name()); |
|||
RETURN_FALSE; |
|||
} |
|||
@ -0,0 +1,27 @@ |
|||
/* |
|||
+----------------------------------------------------------------------+ |
|||
| PHP version 4.0 | |
|||
+----------------------------------------------------------------------+ |
|||
| Copyright (c) 1997, 1998, 1999, 2000 The PHP Group | |
|||
+----------------------------------------------------------------------+ |
|||
| This source file is subject to version 2.02 of the PHP license, | |
|||
| that is bundled with this package in the file LICENSE, and is | |
|||
| available at through the world-wide-web at | |
|||
| http://www.php.net/license/2_02.txt. | |
|||
| If you did not receive a copy of the PHP license and are unable to | |
|||
| obtain it through the world-wide-web, please send a note to | |
|||
| license@php.net so we can mail you a copy immediately. | |
|||
+----------------------------------------------------------------------+ |
|||
| Authors: Hartmut Holzgraefe <hartmut@six.de> | |
|||
+----------------------------------------------------------------------+ |
|||
*/ |
|||
|
|||
|
|||
#ifndef _PHP_NOAVAIL |
|||
#define _PHP_NOAVAIL |
|||
|
|||
#include "php.h" |
|||
|
|||
PHP_FUNCTION(warn_not_available); |
|||
|
|||
#endif /* _PHP_NOAVAIL */ |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue