Egon Schmid
830715a6d7
Have forgotten myself.
2000-04-17 18:57:40 +00:00
Rasmus Lerdorf
8b1b39b5b5
Move this check to the main configure.in file. Fixes #3979
2000-04-16 15:44:04 +00:00
Andi Gutmans
c9911a151e
- Change PHP_ to V_ (directory & file functions)
2000-04-15 14:28:48 +00:00
Andi Gutmans
f2ff9eeef5
@ Fix bug in number_format (Jon Forsberg)
2000-04-15 13:53:32 +00:00
Egon Schmid
7b77b063a6
Small corrections.
2000-04-14 21:12:21 +00:00
Zeev Suraski
b6b79a8d90
Add the documentation team to the credits page
2000-04-14 18:22:43 +00:00
Andrei Zmievski
9ffd5b5595
@- array_walk() now automatically resets the array. (Andrei)
2000-04-13 18:57:37 +00:00
Zeev Suraski
aa6769dde2
- Make Windows builds build again
...
- Make non-gcc based platforms compile again
2000-04-13 16:08:49 +00:00
Thies C. Arntzen
9f598b187c
the asset call caused an undefined __eprintf here!
2000-04-13 13:04:02 +00:00
Andrei Zmievski
c7100c4a1a
Added natural comparison/sorting routines using code from Martin Pool.
...
@- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(),
@ natsort(), and natcasesort(). These are useful for comparing and sorting
@ strings that contain numbers. Based on the code from Martin Pool
@ <mbp@humbug.org.au>. See http://www.linuxcare.com.au/projects/natsort/
@ for more info on natural sorting. (Andrei)
2000-04-12 19:39:02 +00:00
Zeev Suraski
64f91d80fa
Object overloading API changed slightly (llist is now a pointer)
2000-04-10 20:21:02 +00:00
Hartmut Holzgraefe
744fe82e0a
added the other usefull constants besides M_PI from math.h
...
as PHP constants
2000-04-08 23:53:19 +00:00
Colin Viebrock
5628b3f0ab
more prettiness
2000-04-07 16:41:19 +00:00
Zeev Suraski
436ffa8a18
Unify
2000-04-07 15:30:47 +00:00
Andi Gutmans
5c6bf64509
- ZEND_DEBUG is always defined
2000-04-06 22:54:33 +00:00
Colin Viebrock
731404c0ba
phpinfo() prettying
...
I will get to the rest of the functions later tonight or tomorrow
(i.e. from hyperwave to snmp)
2000-04-05 22:30:19 +00:00
Colin Viebrock
0c2b366ce1
phpinfo() prettying
2000-04-05 21:43:03 +00:00
Colin Viebrock
f57d8a2c25
finally (thanks Andreas)
2000-04-05 21:03:30 +00:00
Colin Viebrock
1e344cf010
still cant get this
2000-04-05 21:00:35 +00:00
Colin Viebrock
875ac538fb
phpinfo() prettying
2000-04-05 20:48:46 +00:00
Colin Viebrock
5e296bfe97
fixed the segfault problem (probably not the prettiest way, but)
2000-04-05 20:29:20 +00:00
Colin Viebrock
1ddc9ff852
Prettying up the output of phpinfo(). Someone has to tell me how
...
to get a new .gif logo in there, and why the ZEND_DEBUG output is
causing seg faults.
I also need to go through all the modules and fix up the output they
create.
2000-04-05 20:17:02 +00:00
Thies C. Arntzen
6e2bf336f6
(var_dump) cleaned up some weird & buggy stuff
2000-04-04 15:14:23 +00:00
Egon Schmid
3e2a1034cb
Return type was missing.
2000-04-04 08:52:57 +00:00
Andi Gutmans
9c3d6304dd
- Hopefully got most of them. We also need a chdir_file function like
...
for Apache.
2000-03-30 22:56:34 +00:00
Andrei Zmievski
5cd7bf59b3
@- Fixed return of stristr() to no longer always be lowercased. (Andrei)
2000-03-30 14:34:46 +00:00
Sascha Schumann
fe92fef608
Allocate enough memory for additional /.
...
Also remove the extra check for the trailing /. Unix will automatically
apply s#/+#/#
Partly suggested by: drew@elysium.ltd.uk
PR: #3956
2000-03-30 12:55:59 +00:00
Sascha Schumann
3642282b07
Some OS prepend _ to symbol names while their dynamic linker
...
does not do that automatically. Thus we check manually for
_get_module.
2000-03-30 01:21:03 +00:00
Sascha Schumann
5e18db46c3
Specifically mention $(srcdir), so that OpenBSD's make gets it
2000-03-30 00:43:09 +00:00
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.
2000-03-29 17:33:44 +00:00
Sterling Hughes
68d4298e71
#yikes stripes, didn't see that one
...
#its time to go to bed
Re-fixed return value of min and max
2000-03-29 12:43:13 +00:00
Sterling Hughes
2c975a2b06
single, sorta proto.
2000-03-29 11:38:47 +00:00
Sterling Hughes
cc2c9d8f0f
1. Holy protos Batman.
...
2. Converted some functions from using "return" to RETURN_FALSE
2000-03-29 11:19:01 +00:00
Sterling Hughes
6db2262102
Tis protoriffic.
2000-03-29 01:39:04 +00:00
Egon Schmid
1a8dfac59d
Sterling, only one line for the short descritption, even it is massiv.
2000-03-28 20:47:47 +00:00
Sterling Hughes
74d30dff7b
*** empty log message ***
2000-03-28 20:26:02 +00:00
Sterling Hughes
f76e0a4077
*** empty log message ***
2000-03-28 18:16:41 +00:00
Sterling Hughes
0340340673
Slight change for time on the return side.
...
@-Added 'I' switch to test whether or not DST is active.
2000-03-27 18:11:33 +00:00
Zeev Suraski
b43f85d641
- Change new -> result. Using C++ keywords isn't too hot
2000-03-26 17:06:19 +00:00
Sam Ruby
6a7bc777ca
Dynamically load java support, for better error messages
2000-03-25 15:57:04 +00:00
Andrei Zmievski
7b02e9fc35
@- Fixed extract() for EXTR_PREFIX_SAME and EXTR_SKIP cases. (Andrei)
2000-03-24 14:56:19 +00:00
Thies C. Arntzen
3e99a228df
@- stristr() no longer modifies it's arguments. (Thies)
...
fix #3890
2000-03-22 08:14:00 +00:00
Thies C. Arntzen
7db7884e8c
(var_dump) removed "refcount-hack" - comiles without warning again (&works).
2000-03-19 11:08:07 +00:00
Thies C. Arntzen
245428b241
fix some protos
2000-03-19 10:56:40 +00:00
Andi Gutmans
e88bde0a73
- Fix compile problem on FreeBSD.
2000-03-18 16:16:15 +00:00
Thies C. Arntzen
e4df84a8da
(serialize/unserialize) _sleep_() -> __sleep(), _wakeup_() -> __wakeup() rename.
2000-03-18 15:04:02 +00:00
Hartmut Holzgraefe
1e0b71df1f
is_executable() for root fixed
...
this is an intermediate patch, switching from stat() to
access() for is_(readable|writable|executable) shall
fix the whole topic once and for all
2000-03-17 12:41:55 +00:00
Sterling Hughes
b3ecf2feaf
ftruncate returns 1 on success and 0 on failure instead of 0 on success and -1 on failure.
2000-03-17 00:44:55 +00:00
Sam Ruby
74169f5fc4
restore compilation on ZTS enabled environments (like Windows)
2000-03-16 18:24:43 +00:00
Andrei Zmievski
ddf3740cf9
@ Added is_numeric() that returns true if the argument is a number
...
@ or a numeric string. (Andrei)
2000-03-16 16:02:23 +00:00
Thies C. Arntzen
f856855efd
*** empty log message ***
2000-03-16 02:18:24 +00:00
Thies C. Arntzen
0fe5aef05e
@- serialize()/unserialize() now call _sleep_() and _wakeup_() when
...
@ working on objects. (Thies)
@- renamed to_string() method to _string_value_() for consistency.
@ (Thies, Zend library)
2000-03-16 02:15:41 +00:00
Sam Ruby
2702340dd9
Emulate user/group/other on Windows
2000-03-15 11:52:07 +00:00
Hartmut Holzgraefe
b19d1bdb0f
imap_utf7_encode didn't expand international characters to 16bit
...
before coding
imap_fetch_overview could crash when some fields where missing
imap_fetch_overview will now take msg indices for default and
UIDs by optional flag, as the other functions in the family
2000-03-14 20:20:43 +00:00
Thies C. Arntzen
49cc8a7805
@- fixed possible crash in unserialize if the serailized data was
...
@ damaged. (Thies)
2000-03-14 07:49:42 +00:00
Andi Gutmans
70eb0c78f8
- Also check module API number
2000-03-13 06:00:36 +00:00
Kristian Köhntopp
85940d676f
Finished porting recode module.
2000-03-12 19:42:29 +00:00
Sascha Schumann
bb09ee9505
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
2000-03-12 17:18:21 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Andi Gutmans
9dca788ca0
- Don't define DEBUG anymore. Everyone should use PHP_DEBUG.
...
There are 2-3 third-party libs in PHP which use DEBUG and I left them
this way (primary example is pcrelib).
- Please test things and Andrei, can you check that pcrelib stopped
printing the warning messages?
2000-03-11 20:48:49 +00:00
Andi Gutmans
fe558092e4
- Don't load modules which have different debug and ZTS information than
...
PHP() (untested). Not sure how to handle API version. Should it also not
load? It probably should but it might bite us at some point.
@ Prevent from loading dynamic PHP modules which were compiled with different
debug and thread safety modes than PHP, which resulted in a crash (Andi)
2000-03-11 16:23:30 +00:00
Andi Gutmans
2d2c494970
- Thies, it is crucial :)
2000-03-07 15:50:51 +00:00
Sam Ruby
57f3e61220
Unresolved external php_if_ftruncate on Win32
2000-03-07 14:41:33 +00:00
Sam Ruby
ec8add1a4c
Only define crypt if it is present
2000-03-07 12:28:06 +00:00
Andrei Zmievski
ae11f08d69
Can't believe it hasn't been done yet.
2000-03-07 04:28:43 +00:00
Thies C. Arntzen
3b6d718f18
(php: dl) fixed MAXPATHLEN bug
...
# now it's /* SAFE */ !
2000-03-07 03:43:03 +00:00
Stig Bakken
99e0b36321
@Cleaned up extension namespace (Stig)
...
Cleaned up extension namespace, and changed ext/standard into one single
extension.
2000-03-06 20:37:11 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Egon Schmid
0beaaa9356
Hartmut don't touch protos. Only two lines are allowed.
2000-03-06 16:01:54 +00:00
Hartmut Holzgraefe
36abfe1121
off-by-one error (bug id #3741 ) fixed
2000-03-06 15:32:05 +00:00
Andrei Zmievski
b4b82e05d8
Remove warning.
2000-03-05 04:25:12 +00:00
Andrei Zmievski
b1de472ba3
Don't need this check.
2000-03-04 19:26:27 +00:00
Andrei Zmievski
0e18779e8b
@Added ip2long() and long2ip() courtesy of Faisal Nasim <faisal@nasim.org>
2000-03-04 17:28:16 +00:00
Andrei Zmievski
5610800a7b
@Added ftruncate() and fstat(), courtesy of Faisal Nasim <faisal@nasim.org>
2000-03-04 17:23:03 +00:00
Sascha Schumann
365f379435
Don't export Lookahead
2000-03-04 14:22:15 +00:00
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
2000-03-04 02:59:14 +00:00
Egon Schmid
70893ff7af
Only two lines are allowed here.
2000-03-01 19:56:46 +00:00
Hartmut Holzgraefe
33cb181af2
round(-0.1) will now return 0 instead of -0
2000-03-01 19:36:37 +00:00
Andrei Zmievski
4c7af667a7
Made php_escape_html_entities() as a separate function for export.
2000-02-29 04:38:14 +00:00
Andi Gutmans
e45c1af8b4
- Hopefully fix browscap problem
2000-02-27 20:23:31 +00:00
Zeev Suraski
1261271839
Allow the INI callbacks to know at what stage PHP is
2000-02-26 15:36:23 +00:00
Zeev Suraski
fd344d3602
@- Added ini_set() as an alias to ini_alter() (Zeev)
2000-02-26 14:53:18 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Stig Bakken
d23e5d837a
@- Implemented default_charset and default_mimetype config directives (Stig)
...
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
2000-02-25 21:27:03 +00:00
Zeev Suraski
99d572ad14
Make 4-diogit date RFC 2068 compliant
2000-02-25 16:45:52 +00:00
Egon Schmid
10f52b4805
Breaks funclist.txt
2000-02-25 11:28:41 +00:00
Egon Schmid
284491887f
There are more '|' and should be mixed.
2000-02-24 15:06:33 +00:00
Egon Schmid
c07b5282af
More protos.
2000-02-24 14:43:53 +00:00
Andrei Zmievski
c401bbe22e
Fix proto.
2000-02-24 14:07:35 +00:00
Egon Schmid
0275e4f665
Will watch the diffs as much as I can.
2000-02-24 10:11:42 +00:00
Thies C. Arntzen
88b903da66
zorro does a Z - egon does an e?
2000-02-24 09:32:50 +00:00
Egon Schmid
fe615efb5c
More protos.
2000-02-24 08:39:02 +00:00
Egon Schmid
7da7a50c69
More protos.
2000-02-24 08:07:29 +00:00
Egon Schmid
3b5efa05f7
More protos.
2000-02-24 07:49:43 +00:00
Egon Schmid
dcf5f1a8d5
Most functions don't have protos.
2000-02-24 07:46:56 +00:00
Zeev Suraski
b82f261918
Fix name
2000-02-23 22:50:57 +00:00
Zeev Suraski
6981775d23
Remove obsolete code
2000-02-23 21:52:23 +00:00
Stig Bakken
b275477b76
(PHP getrusage) don't define this function at all if the getrusage() function
...
is not available on the system.
2000-02-23 21:37:43 +00:00
Sascha Schumann
027512320f
Include <sys/types.h> and <sys/time.h> before <sys/resource.h>
2000-02-23 17:39:58 +00:00
Sascha Schumann
53e1ea7728
php.h should be the first file included, so that HAVE_* are defined
2000-02-23 15:44:02 +00:00