Hartmut Holzgraefe
55b5376d19
Support for GLOB_ERR so that glob() reports permission problems (Bug #28355 )
2005-06-12 07:53:24 +00:00
Hartmut Holzgraefe
d5adc7ceff
thinko fix (E_COMMIT_AFTER_MIDNIGHT)
2005-06-12 01:13:24 +00:00
Hartmut Holzgraefe
4440d3897e
Removed bogus fix for bug #28355 (it was dead code anyway)
2005-06-12 00:59:04 +00:00
foobar
8030941485
revert
2005-06-11 23:53:21 +00:00
foobar
467db93099
regenerated with re2c 0.9.7
2005-06-11 18:00:37 +00:00
Dmitry Stogov
4c0970bec6
Fixed reference counting and probable crash on fclose() or shutdown
2005-06-09 08:19:30 +00:00
Dmitry Stogov
72c6d5cbaf
Fixed memory allocation bugs in array_reduce() with initial value ( #22463 & #24980 )
2005-06-08 19:54:24 +00:00
Dmitry Stogov
415ec46927
Fixed incorrect usage of zend_mangle_property_name() (valgrind errors)
2005-06-08 15:48:12 +00:00
foobar
7101cd821a
- It is nice to close the script with ?>..
2005-06-07 21:39:54 +00:00
Derick Rethans
7a3dbcd1c4
- Added the --disable-zend-memory-manager switch to disable the Zend memory
...
manager.
#- I discussed this with Dmitry today - we found it useful.
2005-06-07 13:36:08 +00:00
Derick Rethans
c6ae4a98be
- Fixed bug #33242 (Mangled error message when stream fails).
2005-06-06 12:39:57 +00:00
Derick Rethans
ad21bb1baa
- That should have been removed, not commented out.
2005-06-02 08:51:20 +00:00
Derick Rethans
90f4590d87
- Fixed memory corruption in stristr().
2005-06-02 08:29:37 +00:00
foobar
f887ae2e80
touch
2005-06-02 05:49:56 +00:00
Ilia Alshanetsky
fd396287d0
Fixed bug #33210 (relax jpeg recursive loop protection).
2005-06-01 22:28:03 +00:00
Dmitry Stogov
9383e1b858
Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
2005-06-01 11:03:58 +00:00
foobar
156a908997
- Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' modifier misbehave)
2005-05-31 12:54:56 +00:00
foobar
8defc849cc
Touch
2005-05-31 09:41:46 +00:00
foobar
b185ee0315
- Fixed bug with unserialize() with "exotic" letters in class names
...
# Patch by: Christian Schneider <cschneid@cschneid.com>
2005-05-31 09:41:36 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Andrei Zmievski
3d2944863c
Do a cache flush if we detect possible cache corruption (same as for
...
PCRE).
2005-05-26 21:48:35 +00:00
Ilia Alshanetsky
fddaa54410
Added scheme validation for parse_url().
2005-05-26 03:56:21 +00:00
Stanislav Malyshev
47294288fe
fix is_object() on non-php objects
2005-05-25 10:57:40 +00:00
foobar
396affc81e
nuked unused header file
2005-05-24 15:24:33 +00:00
Antony Dovgal
4ce95ef1ea
fix bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
...
add test
2005-05-20 14:23:42 +00:00
Antony Dovgal
d5bb03b11a
fix bugs #32742 (segmentation fault when the stream with a wrapper is not closed),
...
#32171 (Userspace stream wrapper crashes PHP)
2005-05-16 08:37:14 +00:00
Andrey Hristov
0e459321bf
move math_standard_deviation and math_variance to the stats PECL extension
2005-05-13 10:11:19 +00:00
Joe Orton
5815b03511
Mark pointers in entity tables as const.
2005-05-11 12:54:29 +00:00
Joe Orton
bd2e99ee50
- Fixed bug #29119 (html_decode_entities handling of U+0152-U+0192 range)
...
(merge error from 4.3)
2005-05-11 12:43:07 +00:00
Andrey Hristov
be3a9ccdf3
add function array_product()
2005-05-11 11:43:11 +00:00
Wez Furlong
867e619154
add test for bug 27508
2005-05-11 02:01:44 +00:00
Andrey Hristov
0c268fa0f7
fix the test too
2005-05-10 15:27:49 +00:00
Andrey Hristov
f12b14078e
rename math_std_dev to math_standard_deviation (the API wasn't published
...
yet)
2005-05-10 12:50:53 +00:00
Rasmus Lerdorf
310dd4a214
Fix request_uri XSS on phpinfo() page
2005-05-08 17:24:38 +00:00
foobar
b3f5a2dca4
ws + cs + proto fixes
2005-05-07 16:08:03 +00:00
Ilia Alshanetsky
f8fd0898b7
MFB: Fixed memory leak on error in FTP wrapper.
2005-05-07 16:07:59 +00:00
Andrey Hristov
8cd3409b30
update protos
2005-05-07 12:41:56 +00:00
Ilia Alshanetsky
37f46251fb
Check ftp user name for control characters.
2005-05-06 18:42:52 +00:00
Ilia Alshanetsky
3ae10919c4
Added max_redirects context option that specifies how many HTTP redirects
...
to follow.
2005-05-06 02:31:07 +00:00
Ilia Alshanetsky
b874c94d81
Missing bit from previous patch.
2005-05-06 02:20:00 +00:00
Ilia Alshanetsky
a63f5d1c3f
Fixed bug #32936 (http redirects URLs are not checked for control chars).
2005-05-06 02:13:46 +00:00
foobar
31a8c58911
fix proto
2005-05-05 23:42:03 +00:00
Anantha Kesari H Y
abf7b57160
NetWare LibC dlsym works perfectly only thing that each of the extension need to export a symbol with FULL capital prefix.
2005-05-04 13:26:28 +00:00
Andrey Hristov
7a0b3edbe0
fixed div by zero
...
#div by zero is bad...div by zero is bad...bad
2005-05-02 12:32:21 +00:00
Andrey Hristov
2c0959689b
add possibility to calculate the standard deviation and the variance
...
on a sample - the formulae are slightly different.
2005-05-02 12:29:38 +00:00
Andrey Hristov
7a4eb25870
add also math_variance() which uses the same calculation as math_std_dev()
2005-05-02 12:12:04 +00:00
Andrey Hristov
6141c5690d
fix division by zero. throw an warning if the array is empty.
2005-05-02 11:01:14 +00:00
Andrey Hristov
fb0c19da1c
add math_std_dev()
2005-05-02 09:17:49 +00:00
Ilia Alshanetsky
8209835e5a
Fixed bug #32608 (html_entity_decode() converts single quotes even if
...
ENT_NOQUOTES is given).
2005-05-01 19:48:55 +00:00
Dmitry Stogov
c81db6bc56
Fixed bug #29210 (Function: is_callable - no support for private and protected classes)
2005-04-27 15:45:36 +00:00
Ilia Alshanetsky
8281f41f3e
Fixed bug #32813 (parse_url() does not handle scheme-only urls properly).
2005-04-25 23:47:37 +00:00
Dmitry Stogov
c78ec1615a
Fixed call to estrndup() with invalid length
2005-04-25 06:13:57 +00:00
foobar
4c3fdcaa4e
- Fixed bug #32647 (Using register_shutdown_function() with invalid callback can crash PHP)
2005-04-21 14:44:29 +00:00
foobar
e6a70fd0d3
Added test for bug #32647
2005-04-21 14:17:52 +00:00
foobar
714080f10f
bug => Bug
2005-04-21 14:04:12 +00:00
foobar
b154e82d24
- Fixed bug #32719 (strval() fails to zero terminate strings)
2005-04-15 22:46:37 +00:00
foobar
e5697cc0ad
Add some more cases
2005-04-15 22:25:03 +00:00
foobar
5efe7cf99a
Added test for strval() function
2005-04-15 22:19:53 +00:00
Uwe Schindler
91b587f884
Remove include_path support from md5_file/sha1_file again
2005-04-15 17:13:54 +00:00
Uwe Schindler
9cde55f8ed
use streams api for md5_file and sha1_file. Added parameter use_include_path similar to other PHP file functions. Documentation update outstanding
2005-04-15 14:29:32 +00:00
Uwe Schindler
c4e788b03c
fix various solaris problems by replacing stdio with posix io where possible
2005-04-15 09:14:38 +00:00
foobar
519f381fca
- Regenerated with re2c 0.9.6 (fixes severe bugs)
2005-04-14 22:38:29 +00:00
Ilia Alshanetsky
e87127af69
MFB43: Fixed bug #31583 (php_std_date() uses short day names in
...
non-y2k_compliance mode).
Fixed bug #31689 (PHPAPI missing for php_std_date() and php_parse_date()).
2005-04-14 13:34:05 +00:00
Antony Dovgal
36d13eb7c9
add testcase for bug #30833
2005-04-13 08:23:39 +00:00
Antony Dovgal
a13b29add7
fix #30833 (array_count_values modifying input array)
2005-04-12 14:00:54 +00:00
Ilia Alshanetsky
6f539ae99e
Added time_sleep_until() function, which is a high precision mechanism of
...
making a script sleep until specified timestamp.
2005-04-10 16:25:11 +00:00
Ilia Alshanetsky
5355bdc788
Fixed bug #32533 (proc_get_status() returns the incorrect process status).
2005-04-07 23:07:45 +00:00
foobar
1b3b55a858
Regenerated with re2c 0.9.4
2005-04-06 19:42:36 +00:00
Ilia Alshanetsky
1d60050312
Removed php_check_syntax() function, it never worked properly. For now
...
use shell_exec("php -l script_name") or similar.
2005-04-06 14:19:14 +00:00
Ilia Alshanetsky
a7ae41bf89
Fixed bug #31363 (broken non-blocking flock()).
...
# Patch by ian at snork dot net
2005-04-06 13:57:30 +00:00
Marcus Boerger
58d45bfe2e
- Add new test
2005-04-05 09:23:14 +00:00
foobar
760439567a
Update credits
2005-04-04 18:50:54 +00:00
foobar
2887f89075
remove empty lines
2005-04-04 18:14:27 +00:00
foobar
28b13f50e6
Added testcase for bug #30362
2005-04-04 18:06:16 +00:00
Ilia Alshanetsky
ca10457a58
Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
...
longer then the original string).
2005-04-03 18:08:40 +00:00
Antony Dovgal
b2858fb449
fix output_reset_rewrite_vars() returning false everytime
2005-04-03 12:19:23 +00:00
Sara Golemon
29ede46872
BugFix #31137 stream_filter_remove() segfaults when stream already closed
2005-03-29 04:02:03 +00:00
Ilia Alshanetsky
f95651e338
revert copy patch.
2005-03-27 15:52:49 +00:00
foobar
a075b651be
Added SKIPIF
2005-03-22 16:03:10 +00:00
foobar
77910ec63f
Addded test for locale aware sort
2005-03-22 15:38:25 +00:00
Ilia Alshanetsky
7af2c5e44b
Fixed compiler warning.
2005-03-22 14:44:23 +00:00
Ilia Alshanetsky
b30d8beebf
Simplify argument checking code for array_combine().
2005-03-22 01:45:17 +00:00
Marcus Boerger
e38141478a
- Check another incarnation of bug #30266
2005-03-19 14:24:17 +00:00
Rob Richards
04d44c8a5c
export php_dl to fix windows cli build
2005-03-17 12:37:18 +00:00
Ilia Alshanetsky
5bd7be94a4
Fixed compiler warning.
2005-03-13 17:03:55 +00:00
Ilia Alshanetsky
f56e5c045c
A more performance friendly version of Andrey's patch.
2005-03-12 17:51:19 +00:00
Andrey Hristov
f15c24d44c
added an optional third parameter to str_word_count(), which is used as
...
a list of characters which are considerd "is_alpha()". Thus V14GR4 can
be extracted as one word if the user supplies "14" as charlist.
FR #31560
# Nuno, are you wishing to document this one too? :)
2005-03-12 14:41:20 +00:00
Andrey Hristov
1236cfa38a
- type is either 1 or 2 if second parameter is set. if not set then type
...
is 0.
- use the lvalue for the second rvalue
2005-03-12 13:08:19 +00:00
Andrey Hristov
cc39b51d2d
add a test file
2005-03-12 12:59:53 +00:00
Andrey Hristov
070147105f
Fixed #30871
2005-03-12 10:11:46 +00:00
Marcus Boerger
5a94bb642f
- Do not touch return_valu's refcount or is_ref
2005-03-11 02:11:44 +00:00
Marcus Boerger
4e390892b7
- Do not touch return_valu's refcount or is_ref
2005-03-11 01:52:24 +00:00
Marcus Boerger
1d85c3fe80
- Times have changed - php 5 relevant version now
2005-03-11 00:22:28 +00:00
Marcus Boerger
faae6ac159
- Do not touch return_valu's refcount or is_ref
2005-03-11 00:14:02 +00:00
Marcus Boerger
04a08c757a
- Allow to work under php 5
2005-03-11 00:11:35 +00:00
Marcus Boerger
df56c39bda
- Cosmetics
2005-03-10 23:52:43 +00:00
Marcus Boerger
4172ec995c
- Do not touch return_valu's refcount or is_ref
2005-03-10 23:42:15 +00:00
Zeev Suraski
b31c44d0fd
Oops, revert.
2005-03-10 14:33:53 +00:00
Zeev Suraski
1b5d558f91
Fix prototype
2005-03-10 14:32:16 +00:00
Joe Orton
3796738681
Fix /*-within-comment warning from GCC.
2005-03-10 11:19:32 +00:00
Marcus Boerger
bd13b72164
- Wrong order of action - touch
2005-03-10 00:17:17 +00:00
Marcus Boerger
22fcd1aac7
- Fix #31442 unserialize broken on 64-bit systems
...
- Fix one warning
2005-03-10 00:10:21 +00:00
Marcus Boerger
34c432de7e
- Fix #31442 unserialize broken on 64-bit systems
...
- Fix one warning
2005-03-09 23:58:44 +00:00
Derick Rethans
16d67ab9f5
- MF43: Fixed bug #28067 (partially incorrect utf8 to htmlentities mapping).
2005-03-09 10:13:05 +00:00
Ilia Alshanetsky
0dbe348d1d
Improve the performance of htmlspecialchars_decode() by 20-30%.
2005-03-08 21:13:03 +00:00
foobar
7c1d94a702
update
2005-03-08 06:40:05 +00:00
Marcus Boerger
9c08e3ccae
- Update signature
2005-03-07 22:27:29 +00:00
Marcus Boerger
6bd8257607
- Fix proto
...
- Do not try to write zero bytes
2005-03-07 22:10:08 +00:00
Marcus Boerger
cf6711abfa
- Length needs to be positive
2005-03-07 21:54:08 +00:00
Marcus Boerger
97655f8a3b
- Make maic qutes runtime work if length is specified too
2005-03-07 21:52:34 +00:00
Marcus Boerger
85ebbd28a0
- Delay memory allocation, speeds up faiure case
2005-03-07 21:28:38 +00:00
Ilia Alshanetsky
975ff6f5d5
Added htmlspecialchars_decode() function for fast conversion from
...
htmlspecialchars() generated entities back to characters.
2005-03-07 19:37:27 +00:00
Ilia Alshanetsky
0c9610fc9d
Fixed bug #32210 (proc_get_status() sets "running" always to true).
2005-03-07 16:17:12 +00:00
Marcus Boerger
7fbc91acce
- Allow length 0 as default (e.g. skip param)
2005-03-07 00:16:18 +00:00
Marcus Boerger
ef64180c90
- Actuall the comments were correct
2005-03-06 22:18:09 +00:00
Ilia Alshanetsky
96d7eebce8
Make html_entity_decode() 15-20% faster by avoiding pointless string
...
duplication.
2005-03-06 19:36:51 +00:00
Ilia Alshanetsky
c8687cdb79
Fixed bug #29424 (width and height inverted for JPEG2000 files).
2005-03-06 17:03:43 +00:00
Andrei Zmievski
f8fc9a3256
Check that object can actually return a class entry. I need this for a
...
class-entry-less helper objects that should not be present in the class
table.
2005-03-05 00:45:47 +00:00
Ilia Alshanetsky
09a8f38e39
Fixed bug #32160 (file truncation in copy() when source & destination are
...
the same).
2005-03-03 03:29:23 +00:00
Ilia Alshanetsky
71b9b512cc
Fixed bug #31792 (getrusage() does not provide ru_nswap value).
2005-03-01 21:32:25 +00:00
Anantha Kesari H Y
033a45903c
NetWare allows directory seperator as \ and /
2005-03-01 14:59:37 +00:00
Stefan Esser
14abc19a76
Handle last or broken JP2 boxes correctly.
2005-03-01 13:53:02 +00:00
Marcus Boerger
67fd1f2654
- MFB
2005-03-01 10:14:18 +00:00
foobar
c61608ef35
update
2005-03-01 09:26:28 +00:00
Stefan Esser
e2f1b375a2
This way around for correct error messages
2005-02-28 16:32:49 +00:00
Stefan Esser
b7476a5bd6
Drop invalid arrays
2005-02-28 16:22:39 +00:00
Ilia Alshanetsky
0367674517
Fixed compiler warnings.
2005-02-27 17:08:18 +00:00
Stanislav Malyshev
634a5ec6f8
fix typo
2005-02-27 11:30:41 +00:00
Sara Golemon
00c6078ff1
Enum filters in phpinfo()
2005-02-27 08:12:12 +00:00
Marcus Boerger
89d75d5c9c
- Little speed up
2005-02-24 20:22:40 +00:00
Marcus Boerger
72dc2d1025
- This must be == 1
2005-02-24 20:22:18 +00:00
foobar
129a8a7607
- Generated with re2c 0.9.4
2005-02-24 17:50:20 +00:00
Stanislav Malyshev
8919a7ae08
fix typo
2005-02-24 10:58:16 +00:00
Marcus Boerger
30f870f957
- Prevent superflous memory allocation
2005-02-24 00:12:15 +00:00
Ilia Alshanetsky
fac3e54ad9
Additional safety checks.
...
# More to follow
2005-02-23 23:39:36 +00:00
Marcus Boerger
3f5e714d7b
- Slightly redesign
...
# More to follow, explanation follows at more public place
2005-02-23 22:49:32 +00:00
Ilia Alshanetsky
bd0d48f7a5
Fixed compiler warning.
2005-02-23 18:53:09 +00:00
Stefan Esser
0ef1f50383
Correcting bounds check before someone uses this code
2005-02-23 18:26:39 +00:00
Stanislav Malyshev
db3fdce304
Custom object serializer infrastructure - PHP implementation
...
# The detailed announce on the list will follow
2005-02-23 11:17:52 +00:00
Ilia Alshanetsky
c7b931d80d
Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so).
2005-02-22 00:24:13 +00:00
Anantha Kesari H Y
459313c26d
In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG
2005-02-21 09:50:48 +00:00
Anantha Kesari H Y
bf427d4a0d
NetWare LibC has pwd.h. Removed unwanted extern basic_globals_id declaration for Netware.
2005-02-21 09:44:58 +00:00
Anantha Kesari H Y
3e204f3e07
NetWare has pwd.h and removed unwanted check on NEW_LIBC while including param.h
2005-02-21 09:17:30 +00:00
Anantha Kesari H Y
8bd83a53ac
NetWare LibC has pwd.h
2005-02-21 09:12:44 +00:00
Anantha Kesari H Y
f43386764f
In NetWare statfs f_bavail member is known as f_bfree
2005-02-21 09:08:54 +00:00
Derick Rethans
ff1687731d
- Fixed bug #32021 : Crash caused by range('', 'z')
2005-02-18 13:37:23 +00:00
Anantha Kesari H Y
5f243d7af7
NetWare LibC has pwd.h
2005-02-17 13:57:21 +00:00
Anantha Kesari H Y
67a2998335
NetWare libc has pwd.h
2005-02-17 13:56:49 +00:00
Wez Furlong
9296eb0fd2
George too
2005-02-17 04:50:49 +00:00
Wez Furlong
ede312933c
ran ./scripts/dev/credits to update credits to reflect recent removals and
...
additions.
2005-02-17 04:49:52 +00:00