Andrey Hristov
2fa5e6dd6a
Fix for my fix.
1999-09-29 14:25:40 +00:00
Andi Gutmans
cf6c92949c
- Get rid of warning
1999-09-28 17:37:06 +00:00
Sascha Schumann
9442b13939
Make an extra copy of input parameter.
1999-09-27 18:00:30 +00:00
Andrey Hristov
7665e9ef27
Fix for bug #2199 . Redirect was returning http:// which resulted in a crash.
1999-09-27 15:17:28 +00:00
Sascha Schumann
dd7b4680da
Add entry for AOLserver.
1999-09-25 15:41:51 +00:00
Sascha Schumann
00b2df7b8f
New Zend API
1999-09-25 12:09:50 +00:00
Sascha Schumann
9d1c26481a
Use new Zend API
1999-09-25 11:55:42 +00:00
Andrey Hristov
bfa7b6b145
- Updated array functions to use high-performance API
...
- Updated preg_split() to allow returning only non-empty pieces
1999-09-24 22:44:41 +00:00
Sascha Schumann
7a1fff1441
Use new Zend API.
1999-09-24 19:35:25 +00:00
Andrey Hristov
54fed6c652
Extended var_dump to handle IS_RESOURCE somewhat.
1999-09-24 18:57:02 +00:00
Thies C. Arntzen
c626d9e47b
updated XML (only partly tested)
1999-09-24 18:02:58 +00:00
Stig Bakken
a4bc9478f8
kill another warning
1999-09-24 15:34:54 +00:00
Stig Bakken
63b101f36d
kill warning
1999-09-24 15:34:30 +00:00
Sascha Schumann
de8120f5d0
This version is finally the standard one. The last one was created
...
using the 'nested ifs mode' which seems to be the source of the problem.
1999-09-23 14:53:39 +00:00
Sascha Schumann
ba8b703ba1
re2c's bit vectors appear to be not binary clean. Revert to
...
standard mode for the moment.
1999-09-23 14:09:42 +00:00
Andi Gutmans
7e5ef04b13
- Get rid of warning on win32, non-threadsafe mode.
1999-09-22 05:26:22 +00:00
Rasmus Lerdorf
1e57766b11
Slightly redundant to check for crypt() here again, but the TRY_RUN stuff
...
needs it defined in the same m4 file or it won't work, and it will just
get pulled out of the cache anyway, so it isn't a big deal.
1999-09-21 20:10:53 +00:00
Rasmus Lerdorf
cd0957112b
fgetss/gzgetss fixes
1999-09-21 17:50:51 +00:00
Andrey Hristov
53fb0ea075
A couple of fixes.
1999-09-21 17:06:30 +00:00
Sascha Schumann
8771472210
AC_CRYPT_CAP depends on symbol checks performed later.
1999-09-21 15:00:22 +00:00
Thies C. Arntzen
8638a61df9
added krsort() function
1999-09-21 14:36:41 +00:00
Sascha Schumann
3f684e77a7
Continue, if re2c is not available.
...
Using the ".new" suffix, we prevent the shell from zeroing the file.
1999-09-21 12:24:41 +00:00
Sascha Schumann
240d17f12f
Fix typo.
...
catched by: ssb
1999-09-21 08:41:31 +00:00
Sascha Schumann
cf00d75980
On at least Win32, gettimeofday() returns values in tv_usec which exceed
...
1,000,000.
For portability reasons we set the integer part of our result to 0.
This is equivalent to using tv_usec % 1000000.
1999-09-21 08:22:33 +00:00
Andi Gutmans
6735ebb271
- Move some more language specific functions over to Zend.
...
get_class() and friends.
1999-09-20 21:29:41 +00:00
Sascha Schumann
7e686b1b95
Timestamp commit. I do consider removing the rule from Makefile.am
1999-09-20 21:17:26 +00:00
Egon Schmid
565c322797
Here was also something missing.
1999-09-20 20:05:26 +00:00
Andi Gutmans
96a19593b2
- Internal functions which are basic language functions should be in Zend
...
and not in PHP. I.e. strlen(), each(), error_reporting(), count(),
get_class_name().
1999-09-20 16:56:02 +00:00
Rasmus Lerdorf
c0dcedcafc
Added optional allowable_tags arguments to strip_tags() and fgetss() to
...
allow you to specify a string of tags that are not to be stripped
Could have used flex for this, and Andrew sent me a flex file to do this,
but I could do the same thing with only minor additions to the existing
state machine and the resulting code is much smaller and tighter.
1999-09-20 15:50:56 +00:00
Andrey Hristov
f84ba1b039
- Upgraded var_dump() to take multiple arguments
...
- php3api_ is changed to php_
1999-09-20 14:14:26 +00:00
Stig Bakken
fffbcf5297
logic fix
1999-09-20 13:11:34 +00:00
Thies C. Arntzen
4bb329eafb
added array_count_values function.
1999-09-20 10:09:57 +00:00
Thies C. Arntzen
22d6f64f54
new API for var_dump
1999-09-20 09:34:39 +00:00
Sascha Schumann
39dbe1d41b
Aline escape signs in macro definitions.
1999-09-18 12:16:16 +00:00
Thies C. Arntzen
ab185b11b5
SUN c89 doesn't like } direct after a label;-(
1999-09-17 12:32:18 +00:00
Zeev Suraski
98d95dd88e
- Added support for unknown POST content types (Zeev)
...
- Introduce the convert_to_*_ex() API in strlen()
1999-09-16 23:18:15 +00:00
Zeev Suraski
13e67642fa
Generalize SAPI a bit
1999-09-16 22:15:43 +00:00
Thies C. Arntzen
6ecd417b34
php4 now deserialized php3 objects correctly!
...
php3 will ignore objects serialized by php4 (that's the price we have to pay!)
small fix in deserializing objects with static initializers (thanx boris)
1999-09-16 08:05:17 +00:00
Thies C. Arntzen
de73bd0123
when unserializing classes:
...
if the class is not known the standard class (no methods) will be used.
if the class is known - the created object will functional again!
1999-09-15 15:03:06 +00:00
Andrey Hristov
b287aa2cf4
Fixed printf format.
1999-09-15 13:37:11 +00:00
Thies C. Arntzen
e7ad3bbec2
use new API in var.c
1999-09-15 11:42:28 +00:00
Thies C. Arntzen
21a0c57cb1
i love id-strings
1999-09-15 11:09:32 +00:00
Thies C. Arntzen
3491633aa0
made serialize/unserialize work with classes! (also made the code "shorter")
...
CHANGES:
- the serialized string now also contains the class name (was not available in PHP3)!
- when unserializing php will create a fully working object of that class again
therby the class has to be defined when unserializing - else you get a warning!
1999-09-15 11:08:25 +00:00
Thies C. Arntzen
328d08bd63
HASH_OF is usable enough (i hate duplicating macros all over the place)
1999-09-15 09:51:20 +00:00
Andi Gutmans
100148168a
- Thread-unsafe win32 compiles again
...
- Some strlcpy changes including one bug fix.
1999-09-15 05:42:36 +00:00
Andi Gutmans
0a7fc83253
- gettimeofday wasn't registered.
1999-09-15 05:08:45 +00:00
Thies C. Arntzen
da599af7cb
is_array & friens speedups
1999-09-14 14:18:18 +00:00
Rasmus Lerdorf
0fd0323956
Fix a warning
1999-09-14 14:09:57 +00:00
Thies C. Arntzen
41da939988
count() now uses the new getParamertersEx API.
1999-09-14 13:34:27 +00:00
Thies C. Arntzen
95303a4bb2
added Metaphone support
1999-09-13 15:48:32 +00:00