Sascha Schumann
54fa1a77d7
On some systems, <syslog.h> defines syslog to another symbol, so that
syslog.lo does not contain the expected symbols. Including <symbol.h>
in basic_functions.c fixes the resulting linking problem.
26 years ago
Andrei Zmievski
5c5ec88292
@Added substr_count() from Peter Kovacs. (Andrei)
# also some todo stuff
26 years ago
Andrei Zmievski
a15b08a709
Just a type cast is sufficient.
26 years ago
Evan Klinger
d6c66f3b7c
@- Fixed long2ip() to return the correct IP address. (Evan)
# ip2long() is still broken.
26 years ago
Andrei Zmievski
c7100c4a1a
Added natural comparison/sorting routines using code from Martin Pool.
26 years ago
Zeev Suraski
64f91d80fa
Object overloading API changed slightly (llist is now a pointer)
26 years ago
Hartmut Holzgraefe
744fe82e0a
added the other usefull constants besides M_PI from math.h
as PHP constants
26 years ago
Colin Viebrock
0c2b366ce1
phpinfo() prettying
26 years ago
Sascha Schumann
6c8f9bf3b4
Do not add dl function, if libdl is not present.
PR: #3947
Declare user_shutdown_function_name() as static to kill warning.
26 years ago
Sterling Hughes
6db2262102
Tis protoriffic.
26 years ago
Sterling Hughes
74d30dff7b
*** empty log message ***
26 years ago
Sterling Hughes
f76e0a4077
*** empty log message ***
26 years ago
Andrei Zmievski
ddf3740cf9
@ Added is_numeric() that returns true if the argument is a number
@ or a numeric string. (Andrei)
26 years ago
Sam Ruby
ec8add1a4c
Only define crypt if it is present
26 years ago
Stig Bakken
99e0b36321
@Cleaned up extension namespace (Stig)
Cleaned up extension namespace, and changed ext/standard into one single
extension.
26 years ago
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
directory name.
26 years ago
Andrei Zmievski
b1de472ba3
Don't need this check.
26 years ago
Andrei Zmievski
0e18779e8b
@Added ip2long() and long2ip() courtesy of Faisal Nasim <faisal@nasim.org>
26 years ago
Zeev Suraski
d34b144061
@- Added parse_ini_file(). Currently implemented in non thread safe version
@ of PHP, and currently lacks section support (Zeev)
- Bring the non thread safe .dsp's uptodate
26 years ago
Zeev Suraski
1261271839
Allow the INI callbacks to know at what stage PHP is
26 years ago
Zeev Suraski
fd344d3602
@- Added ini_set() as an alias to ini_alter() (Zeev)
26 years ago
Egon Schmid
dcf5f1a8d5
Most functions don't have protos.
26 years ago
Zeev Suraski
b82f261918
Fix name
26 years ago
Zeev Suraski
6981775d23
Remove obsolete code
26 years ago
Stig Bakken
b275477b76
(PHP getrusage) don't define this function at all if the getrusage() function
is not available on the system.
26 years ago
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
26 years ago
Zeev Suraski
003ef1aa74
Trap bailout of shutdown functions
26 years ago
Andrei Zmievski
a60e91b313
(request_shutdown) Prevent infinite loop on shutdown if there is an error
in shutdown function.
(php_array_walk) Print a warning if the walk function doesn't exist.
Split shutdown function call into a separate function that's called with
zend_hash_apply() instead of as destructor to keep hash consistent.
This fixes bug #3419 .
26 years ago
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
26 years ago
Andi Gutmans
29280bb9ec
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
26 years ago
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
26 years ago
Zeev Suraski
0fd89aa20d
More cleanup - move getenv() to SAPI
26 years ago
Thies C. Arntzen
4a824eb8cb
@- Added NULL-support in gettype(). (Thies)
26 years ago
Zeev Suraski
3a816341f9
Cleanup patches
26 years ago
Zeev Suraski
86a19f4714
Add the complement to the putenv() security
26 years ago
Zeev Suraski
5540028340
@- Added the ability to prevent the user from overriding certain environment
@ variables in Safe Mode (Zeev)
- Finished work, more or less
26 years ago
Zeev Suraski
01362974d6
Some more work, I'll finish this when I get home
26 years ago
Zeev Suraski
430571d62c
Initial work on the protected env vars stuff
26 years ago
Zeev Suraski
62114c1806
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
26 years ago
Zeev Suraski
972631be71
- Added flush() support to SAPI
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
26 years ago
Andi Gutmans
60841f1231
- Separate the overloaded objects' types from Zend's data types.
There is no reason for them to be the same, and IS_METHOD just cluttered
the data types.
- Overloaded elements should now use OE_IS_OBJECT, OE_IS_ARRAY, and
OE_IS_METHOD
26 years ago
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
26 years ago
Zeev Suraski
e538fcbf10
@- Fixed a bug in ODBC error reporting (Zeev)
@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
@ of the PHP and Zend logos used in phpinfo() (Zeev)
26 years ago
Andrei Zmievski
1ad5180f28
getParameters -> zend_get_parameters
26 years ago
Zeev Suraski
489de5dce2
Support the latest update to call_user_function_ex()
26 years ago
Zeev Suraski
a1ad2872ee
- The tree compiles again
26 years ago
Zeev Suraski
3ee4e65c95
More php3_ annihilation
26 years ago
Zeev Suraski
2d0b84ee30
More work on php3_ annihilation...
26 years ago
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
26 years ago
Zeev Suraski
02d3b39420
More php3_ annihilation
26 years ago