Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Andi Gutmans
3f6e00e48d
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
...
more tricky and I'm not sure how many places this is. zval allocations
were only made directly in 11 places.
1999-12-24 15:43:39 +00:00
Andrei Zmievski
742c58c240
(PHP preg_quote) Made binary-safe.
...
@ Made preg_quote() binary-safe. (Andrei)
1999-12-20 20:49:56 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Andrei Zmievski
4f52bab52f
Need to check for __inet_aton on Solaris.
1999-12-07 16:26:42 +00:00
Andrei Zmievski
a9a5f24029
Add another item.
1999-12-06 16:41:55 +00:00
Sascha Schumann
4a60eed469
Fix some warnings
1999-12-05 16:25:32 +00:00
Stig Bakken
ae1b7bf4b8
@Fix warnings compiling in maintainer mode. (Stig)
...
Fix warnings compiling in maintainer mode.
Install DB/common.php and DB/mysql.php on "make install".
# We still have a warning from http_config.h:97. Rasmus? :-)
1999-12-05 10:29:06 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Andrei Zmievski
3ae0f5fdc4
(PHP preg_replace) Fixed a bug that cause backreferences to lose
...
their value after the first occurrence.
1999-11-19 22:59:12 +00:00
Andrei Zmievski
71a8c018cb
Fixed a bug that would replace only the first occurrence and result in
...
a parse error for the rest when using /e modifier.
1999-11-19 22:28:06 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Andrei Zmievski
e921d0feab
Fix bug #2623 .
1999-10-28 16:41:17 +00:00
Sascha Schumann
387f15d895
Define USE_BCOPY, if memmove is not found (i.e. SunOS 4). Fix for #2480
1999-10-24 16:41:07 +00:00
Andrei Zmievski
ce1f3a7d83
Make string copying a little more efficient.
1999-10-15 20:36:10 +00:00
Andrei Zmievski
22fb5f281a
Renamed a couple of functions to have proper php_ prefix.
1999-10-15 20:04:31 +00:00
Andrei Zmievski
d3a39771c1
(_php_replace_in_subject)
...
(PHP preg_replace):
Fixed a bug that happened when regex was an array and replacement was a
single non-string value. Also changed conversions to use
convert_to_string_ex().
(PHP preg_grep): use convert_to_string_ex() for proper conversion
1999-10-15 16:57:54 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Andrei Zmievski
a92fb5fe3d
rename.
1999-10-01 14:54:55 +00:00
Andrei Zmievski
7258842c29
preg_replace() now makes copies of array entries if arrays are passed in,
...
so that convert_to_string() preserves the originals. Is this the correct way to do it?
1999-09-30 21:59:46 +00:00
Sascha Schumann
cf4afd61f0
* create Makefiles for ext, pcrelib, sapi/*
...
* copy files for Apache from $(srcdir)
1999-09-29 22:18:43 +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
Andrey Hristov
ba01cefc0c
Update to new high-performance function API.
1999-09-24 20:11:06 +00:00
Andrey Hristov
9f07657b48
Small clarification.
1999-09-23 15:37:01 +00:00
Sascha Schumann
e20af627c2
improve short help messages
1999-09-16 15:35:49 +00:00
Andrey Hristov
870a6679ff
- Updated bundled PCRE library to version 2.08
...
- Made it possible to specify external location of the PCRE library
- Reworked PCRE extension to use updated PCRE library API
Hopefully now everything behaves just like Perl..
1999-09-14 19:24:37 +00:00
Andrey Hristov
5e4a85f2e3
Static is good...
1999-09-03 21:12:10 +00:00
Andrey Hristov
f72897c29d
Practice what you preach, I guess.
1999-09-03 19:01:19 +00:00
Rasmus Lerdorf
8ccce347a3
Missing return types in prototypes
1999-08-26 14:13:14 +00:00
Egon Schmid
17f132f9ee
Here was also something missing
1999-08-19 20:31:57 +00:00
Andi Gutmans
aeec4e198a
- Fixed memory leaks. tsrm resource id deallocation still needs to be implemented.
1999-08-19 16:52:53 +00:00
Philippe Verdy
236d54114c
make pcre test program compile again with Zeev's
...
additions in the pcre_exec() function parameters
1999-08-15 23:52:37 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Egon Schmid
b55a6c9185
Another forgotten prototype. Andrey, why is preg_grep in PHP3 missing?
1999-08-01 18:18:40 +00:00
Andrey Hristov
a5a07063d2
*** empty log message ***
1999-07-22 14:22:32 +00:00
Andrey Hristov
6b82192bf7
Added locale support.
1999-07-20 20:57:04 +00:00
Andrey Hristov
3335c8ea0d
-Kill compile warnings in apache.c
...
-Make preg_grep() work with copies of array entries
1999-07-17 20:03:10 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Andrey Hristov
be66f224b0
*** empty log message ***
1999-07-12 17:16:14 +00:00
Zeev Suraski
c43c235427
Don't touch refcount and EA directly
1999-07-09 20:45:55 +00:00
Zeev Suraski
5f62c347c7
Step 2:
...
Rename is_ref to EA
1999-07-09 17:44:41 +00:00
Zeev Suraski
3a9cb0220c
Step 1 in nuking the garbage collector:
...
- Change the hash destructor to return int
1999-07-09 17:36:12 +00:00
Andrey Hristov
cef4df1fee
Reduce clutter a bit.
1999-07-08 21:42:29 +00:00
Zeev Suraski
5baaa716dc
Support PCRE under Win32
1999-07-06 19:49:48 +00:00
Zeev Suraski
8ee9fd5768
avoid two copies of pcre.c in the repository
1999-07-06 19:24:13 +00:00
Andrey Hristov
7aa981f5b7
Correct option caching
1999-07-05 15:25:51 +00:00
Andrey Hristov
31c8ec4c80
Made preg_split() consistent with split().
...
Added a new /e modifier for preg_replace
Kill a warning in pcrelib.
1999-06-22 14:56:32 +00:00
Andrey Hristov
3b1843bc9f
Added preg_grep() function.
1999-06-10 14:41:38 +00:00
Andrey Hristov
b331ead5bf
A fix for a fix.
1999-06-09 21:21:27 +00:00
Andrey Hristov
3d45dd58b8
Fixed a bug in preg_split.
...
Fixed a bug in array_shift/array_pop.
1999-06-09 21:13:05 +00:00