Andrei Zmievski
e02d610df8
Use sizeof on the proper string.
2000-01-28 17:29:37 +00:00
Zeev Suraski
9ab35ae393
Tried to centralize global variable registration as much as possible:
...
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
to $HTTP_GET_VARS[], contain environment and server variables. Setting
register_globals to Off will now also prevent registration of the
environment and server variables into the global scope (Zeev)
- Renamed gpc_globals to register_globals (Zeev)
- Introduced variables_order that deprecates gpc_order, and allows control
over the server and environment variables, in addition to GET/POST/Cookies
(Zeev)
2000-01-28 17:24:53 +00:00
Zeev Suraski
270eff1dfe
Use a more general and descriptive name
2000-01-28 14:57:19 +00:00
Zeev Suraski
d231293832
dsp updates
2000-01-28 14:46:19 +00:00
Andi Gutmans
a8bb0a452d
- Make Win32 compile again
2000-01-28 13:53:06 +00:00
Zeev Suraski
fc678100cd
post.c really had nothing to do with POST anymore, and it belongs to the top level directory
2000-01-28 13:31:12 +00:00
Andi Gutmans
6f63373bb2
- This makes the switch() statement twice as quick. Moving to enum
...
might make this a general speed up for other platforms too
2000-01-28 13:25:55 +00:00
Zeev Suraski
3a35a6955d
Get rid of the old implementation
2000-01-28 12:53:05 +00:00
Sam Ruby
137765c95a
accomodate old versions of kaffe which don't support jar
2000-01-28 10:53:06 +00:00
Sam Ruby
302ccb0d97
Shutdown cleanly (prevents Kaffe from trapping on exit)
2000-01-28 00:32:28 +00:00
Chuck Hagenbuch
b87e48802e
Mcal cleanup, stage 1: it compiles again (the php3 syntax to php4/zend
...
syntax conversion left a lot of: PHP_FUNCTION void ... definitions, giving
two types to every function).
However, it's still segfaulting. I'll look into that next.
2000-01-27 16:38:45 +00:00
Sam Ruby
5924c920ec
PHP now starts up in CGI mode with Kaffe on RedHat Linux 6.1.
...
status: segfault atexit, npe in jawt - but otherwise both samples work!
Installation needs more work
2000-01-27 13:44:45 +00:00
Sam Ruby
31e3466556
Forward progress, thanks to Sascha Schumann.
...
libphp_java.so is now built again - it just refuses to load.
At least I now have something I can debug!
2000-01-27 02:13:21 +00:00
Sascha Schumann
d0cb4d09aa
Allow shared libraries to be built everywhere
2000-01-26 21:58:46 +00:00
Andi Gutmans
8b9765a917
- Keep objects as references.
2000-01-26 21:10:46 +00:00
Uwe Steinmann
87f72a4b06
- add another comment to the script
2000-01-26 06:31:29 +00:00
Uwe Steinmann
49be46409c
- test script for domxml
2000-01-26 06:22:44 +00:00
Andi Gutmans
4585f7bf1f
- Allow is_ref to become 0 in case the refcount is back to 1.
2000-01-26 05:03:22 +00:00
Uwe Steinmann
5c3917478a
- resumed work on domxml and found a way to circumwent a segm fault
...
(see the source). No solution to fix it, yet. Probably needs some
understanding of zend, which I don't have.
- added more functions
2000-01-25 17:00:09 +00:00
Egon Schmid
99ff6e3b76
Proper indentation here also.
2000-01-24 20:25:57 +00:00
Andi Gutmans
58a0844b1c
- Make foreach() now copy the array but use the original array. It can
...
still be optimized A LOT but it's only a performance issue and not
a feature issue.
2000-01-24 19:04:07 +00:00
Zeev Suraski
97f64988e2
NULL out the ticks callback until Stig implements it
2000-01-24 19:03:50 +00:00
Zeev Suraski
fafbf6d8da
- Implement declare() with declarables framework
...
- Implement ticks - Germany&Norway - 5 points!
2000-01-24 19:00:30 +00:00
Zeev Suraski
adec56938e
Fixes
2000-01-24 17:29:15 +00:00
Zeev Suraski
e6ba28b680
Fix an elusive bug
2000-01-22 17:02:48 +00:00
Zeev Suraski
c3677ca907
Add some order...
2000-01-20 14:26:31 +00:00
Zeev Suraski
92633067af
Indentation fixes
2000-01-20 05:27:57 +00:00
Andi Gutmans
af2ef0830a
- Optimize zend_hash_del a tiny bit.
2000-01-19 19:47:16 +00:00
Andi Gutmans
aa73f6b68f
- Hopefully fix the hash problem.
2000-01-19 19:44:32 +00:00
Andreas Karajannis
2b6d84ff37
Fix for wrong library ordering with adabas
2000-01-19 18:21:53 +00:00
Andi Gutmans
7271c050a3
- Hrm I'm not concentrating
2000-01-19 18:14:20 +00:00
Andi Gutmans
99783fe795
- Actually the destructor should run after the data is already detached
...
from the hash but before the bucket is freed.
2000-01-19 18:12:05 +00:00
Andi Gutmans
d3690efffe
- Rollback hash_apply and friends. They assume now that hash_del is reentrant
...
as it first applies the destructor and only later nukes the bucket
2000-01-19 18:05:16 +00:00
Andi Gutmans
b7b97df93f
- Run destructor before the hash structure is modified, thus, making
...
hash_del, reentrant (BLOCK_INTERRUPTIONS needs to be made a counter now).
2000-01-19 17:39:55 +00:00
Andi Gutmans
58fb1a3922
- Undo a bug we introduced. (Another one out there).
2000-01-19 17:31:33 +00:00
Sam Ruby
e6c203832e
First step to restoring the ability to build Java support on Unix:
...
1) Restore the ability to build CGI as a shared library
2) Correct make dependency rule so that the jar files are included
3) Search for jar executable, and use it, if found
Left TODO: actually build the shared libraries
2000-01-19 14:45:26 +00:00
Thies C. Arntzen
fb6a1b8b83
RETURN_NULL -> RETURN_NULL() // we don't want macros without an argumnet
2000-01-19 09:38:45 +00:00
Zeev Suraski
4b006cb8b0
This doesn't seem to be necessary, and causes a leak in case of output_buffering=on
2000-01-18 22:25:48 +00:00
Zeev Suraski
549cf0381a
Leak fix
2000-01-18 22:18:17 +00:00
Zeev Suraski
f6ac18841d
Make the phpinfo() images work properly again
2000-01-18 19:15:45 +00:00
Thies C. Arntzen
cd377b646d
RETURN_NULL & RETVAL_NULL don't need ().
2000-01-18 08:40:45 +00:00
Thies C. Arntzen
c6df8ab565
@- Ora_GetColumn()/Ora_FetchInto() now return NULL for NULL-Columns. (Thies)
...
also changed return-type for list-dtor
2000-01-18 08:35:55 +00:00
Zeev Suraski
df138c2e2f
- MS-SQL fix
...
- Fix a crash bug in session_register()
2000-01-17 22:41:59 +00:00
Thies C. Arntzen
bbe2172c38
use defines
2000-01-17 19:17:58 +00:00
Zeev Suraski
19d978d1c7
Get rid of the IsPointer functionality in the hash.
2000-01-17 18:45:46 +00:00
Zeev Suraski
a965dc5b40
- Fixes a newly introduced bug in the hash
2000-01-17 18:09:03 +00:00
Zeev Suraski
62114c1806
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
2000-01-17 17:33:37 +00:00
Zeev Suraski
ec386cc9fd
- Remove the pre-request-shutdown hooks, they should no longer be necessary.
...
The session module may not work due to an unknown (and until now, IMO, misdiagnosed) problem,
if it does, please report it!
2000-01-16 21:03:49 +00:00
Zeev Suraski
ee08b81aab
- Make zend_hash_apply() (and friends) reentrant and much, much quicker
...
- Introduce zend_hash_graceful_destroy(), which allows the destructor functions to
use zend_hash_apply() and/or zend_hash_graceful_destroy()
- Switch to zend_hash_graceful_destroy() in the resource list shutdowns
2000-01-16 20:59:03 +00:00
Zeev Suraski
97e1ad136a
Fix
2000-01-16 20:37:09 +00:00