Stanislav Malyshev
5af7dff758
add opendir to VIRTUAL_DIR
2000-06-04 08:29:11 +00:00
Stanislav Malyshev
7f158268aa
chdir returns 0 on success, compare against it
2000-06-04 07:57:40 +00:00
Zeev Suraski
5673378ea6
- Allow all functions that receive user-defined function callbacks to accept
...
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj, "ObjSort"))
(I checked the code in array.c and basic_functions.c, other code which uses
call_user_function() may still force the function_name argument to be of type
IS_STRING, which prevents this feature from working - and is no longer necessary)
2000-06-03 04:16:46 +00:00
Zeev Suraski
d1f1d40527
- Make the INI entries sorted in phpinfo()
2000-06-03 03:05:29 +00:00
Zeev Suraski
ab36e22aeb
Small optimization
2000-06-02 12:24:24 +00:00
Chuck Hagenbuch
a4146cc890
patch for redhat 6.2 from Teodor Cimpoesu <teo@digiro.net>.
2000-06-01 20:19:26 +00:00
Andrei Zmievski
4ef2af7c72
Update header file.
2000-06-01 16:34:50 +00:00
Andrei Zmievski
1db5c7d1e2
@- Cleaned up PCRE extension and made it binary-safe. (Andrei)
2000-06-01 16:34:00 +00:00
Jouni Ahto
467c4314b8
(ucwords) Remove unnecessary code.
...
# Didn't keep my promise to stop...
2000-06-01 14:56:28 +00:00
Jouni Ahto
c106ab8ba0
(ucwords) Yet another fix for #4748 .
...
# Last one from me today, I must have a beer now.
2000-06-01 14:40:41 +00:00
Andrei Zmievski
48db9618b8
Some tweaks.
2000-06-01 14:18:45 +00:00
Andrei Zmievski
4c818aec33
@- Added third argument to in_array(). If it's true, then in_array()
...
@ will use strict comparison instead of the default one. (Andrei)
Fixes bug #4753
2000-06-01 13:52:08 +00:00
Jouni Ahto
30c5b53ad1
(ucwords) Fixed fix for fix for fix for #4748 .
...
# Today's most fixed bug.
2000-06-01 13:38:23 +00:00
Hartmut Holzgraefe
a35237795f
uh, off by one?!! this time it's regression-tested, fast and compact
2000-06-01 11:47:48 +00:00
Jouni Ahto
3c51a88d0c
(ucwords) Another try to fix #4748 .
2000-06-01 10:07:44 +00:00
Hartmut Holzgraefe
f27956eb19
ucwords will now test against isspace() instead of just ==" "
...
(see BUG #4748 )
2000-06-01 09:56:54 +00:00
Jouni Ahto
8fe69306dc
Correct fix this time... (?)
2000-05-31 22:44:29 +00:00
Jouni Ahto
1e7c5b8562
Fix a nasty off-by-one with negative numbers.
...
# Hey, this has been there for years undetected.
2000-05-31 22:27:09 +00:00
Zeev Suraski
a00a1d12ea
@- Added pg_trace() and pg_untrace (Dominic J. Eidson & Zeev)
2000-05-31 20:40:28 +00:00
Chuck Hagenbuch
1e672d4528
monkeying Sascha's suggested change to allow relative pathnames.
2000-05-31 17:33:30 +00:00
Frank M. Kromann
640c8226aa
Making imap module compile on win32 and include imap_mail() function)
2000-05-30 22:13:09 +00:00
Andrei Zmievski
01a4220954
@- Added array_merge_recursive() that will recursively merge values
...
@ under the same keys. (Andrei)
2000-05-30 17:03:56 +00:00
Thies C. Arntzen
8c65f81676
@- fixed crash in OCIParse when parsing invalid SQL. (Thies)
2000-05-30 09:25:02 +00:00
Zeev Suraski
666a53a247
Forgot to update the makefile
2000-05-29 18:56:51 +00:00
Zeev Suraski
950fb739f8
Fix bug #4678
2000-05-29 18:53:42 +00:00
Zeev Suraski
3637589db1
Oh yeah, I said there's no need for it to be defined didn't I? :)
2000-05-29 16:51:27 +00:00
Rasmus Lerdorf
ebd9e89fcf
Clean up EXIF code and give up on extracting the embedded thumbnail for
...
now. Will return to it when I find some real specs on it.
Also added a couple of missing copyright headers
2000-05-29 16:34:19 +00:00
Zeev Suraski
c07a056dac
There's really no need for an entire file for a one line function...
2000-05-29 16:13:38 +00:00
Thies C. Arntzen
635d7fbfae
allow_call_time_pass_reference fix: similar_text
2000-05-29 15:38:32 +00:00
Zeev Suraski
8715b55ce0
Remove stale macro
2000-05-29 15:31:19 +00:00
Sascha Schumann
a982eb2267
`len' is not the actual length of the string, but the possible maximum
...
length. This fixes a couple of problems, like not setting the cookie path
correctly.
2000-05-29 15:07:19 +00:00
Zeev Suraski
124fe30f03
More secure mode
2000-05-29 11:47:38 +00:00
Andreas Karajannis
2980f7f92d
Changed parameter naming some function prototypes
2000-05-28 17:23:24 +00:00
Sascha Schumann
0d9c0616f9
Use php_syslog() for system call. On OpenServer 5, syslog is defined to
...
var_syslog/sys_syslog which causes various problems.
Submitted by: Paul Gardiner <I.T.Manager@barleychalu.co.uk>
2000-05-28 16:22:28 +00:00
Sascha Schumann
9cd4929417
Make syslog module thread-safe.
2000-05-28 16:19:45 +00:00
Andreas Karajannis
e50b33c240
Cosmetic changes.
2000-05-28 12:48:12 +00:00
Danny Heijl
90331b27ac
- added COMPILE_DL_INFORMIX to WIN32 project file
2000-05-28 12:06:56 +00:00
Danny Heijl
a603902561
- Name correction.
2000-05-28 11:08:28 +00:00
Hartmut Holzgraefe
3bbc7466fc
added comments to the System/Distribution specific default
...
path tests for gd.h
? can someone imagine a clever way to have that done for
_all_ packages in a simple and general way ?
2000-05-27 21:30:30 +00:00
Hartmut Holzgraefe
636b8927c6
should make SuSE 6.x users happy (and anybody else with gh.d in
...
/usr/include/gd ... )
2000-05-27 21:09:00 +00:00
Hartmut Holzgraefe
fb39eda0d8
a second (cleaner?) try on warnings about unsupported functions
2000-05-27 19:27:20 +00:00
Andi Gutmans
afccb58612
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
...
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
2000-05-27 18:55:11 +00:00
Andi Gutmans
8c82566b48
- Fix problem in sessions module under Win32. Need to use ; as an options
...
- delimiter in save_path instead of :.
2000-05-27 16:38:49 +00:00
Zeev Suraski
abb31591ff
Add Sam Ruby
2000-05-27 00:24:03 +00:00
Hartmut Holzgraefe
7a2e01c592
protos fixed
2000-05-26 17:20:36 +00:00
Hartmut Holzgraefe
62227a03b1
proto fixed
2000-05-26 17:20:18 +00:00
Hartmut Holzgraefe
69d1e788c0
if a module provides a function it should also do so if the function
...
is not functional due to configure findings
the function should offer a meaningful warning if it is not supported
instead of just beeing undefined
i had already changed this in 'gd', now this is doing it for 'standard'
2000-05-26 17:04:02 +00:00
Zeev Suraski
9bfd5e5e55
Save more overhead. Look for the serializer/save_handler only when they're actually modified.
2000-05-26 13:02:11 +00:00
Zeev Suraski
fb69f854af
Use the INI framework in the session module
2000-05-26 11:12:49 +00:00
Uwe Steinmann
8e12a0126e
- swf.h belongs to the libswf distribution and should not be copied
...
in the php distribution.
- the configure script now checks for the libswf.a and swf.h in
<swf-dir>/lib and <swf-dir>/include. If it doesn't find it the
default directories /usr/local and /usr are checked.
2000-05-26 09:34:13 +00:00