Zeev Suraski
9f51f154aa
- Stop passing list/plist to internal functions
- Add a typedef for the pCopyConstructor function pointer
- Minor hacks
26 years ago
Thies C. Arntzen
8c4ab98e17
added missing break.
26 years ago
Zeev Suraski
fafbf6d8da
- Implement declare() with declarables framework
- Implement ticks - Germany&Norway - 5 points!
26 years ago
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
26 years ago
Zeev Suraski
dc0e663241
Allow module startup to be separate from the compiler/executor startup
26 years ago
Andi Gutmans
bdefd5da15
- Change IS_UNSET -> IS_NULL
26 years ago
Zeev Suraski
f2d703e916
- Nuke undefined_variable_string
- Introduce IS_UNSET
26 years ago
Zeev Suraski
5864b57eec
This should enable people to use ALLOC_ZVAL() in code outside the php4.dll
26 years ago
Thies C. Arntzen
9cf1a98d0e
fix UMR in ZTS mode
26 years ago
Zeev Suraski
5ba5f00f65
export
26 years ago
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
26 years ago
Andi Gutmans
213d0e2fb2
- More fixes related to the return references patch
- eval_string() and call_user_function_ex() still don't work.
- The libzend tree is untested and might not be stabl yet.
26 years ago
Sascha Schumann
70df2d7478
Fix some warnings
26 years ago
Zeev Suraski
9baad80459
- Break the zend->PHP dependency introduced by the .php extension for use(),
by providing an API
- Enable Stig's patch for use() extensions (it wasn't refered to by the parser)
- Fix a memory leak in that code
26 years ago
Stig S. Bakken
93536507f6
Fix warnings surfacing in maintainer-mode.
26 years ago
Andi Gutmans
5463dd5b38
- Add use support (behaves like require, but will not use the same file twice)
- Add import support (behaves like include, but requires parentheses; will not
use the same file twice; Currently, it is not yet properly implemented, and
only behaves like include)
26 years ago
Zeev Suraski
13d840bc3f
Add a file in which we can put Zend builtin functions
27 years ago
Zeev Suraski
5f1793e21c
Make this class instanciatable
27 years ago
Andi Gutmans
99947a251e
- Shift around header files.
27 years ago
Zeev Suraski
6313238c63
Fix for Thies's UMR
27 years ago
Andi Gutmans
acd6114fa7
- Add some ZENDAPI's
27 years ago
Zeev Suraski
8d1de13aef
0.91 update
27 years ago
Zeev Suraski
b5b1117760
License update
27 years ago
Andi Gutmans
91d7ba7610
Change true/false back to 1/""
27 years ago
Andi Gutmans
762158aa65
Fix thread unsafe constants startup
27 years ago
Andi Gutmans
fec59d3b4d
- License update
- Fix multithreaded constants startup
27 years ago
Andi Gutmans
fb7a4b6486
Fix assignments of reference variables
27 years ago
Zeev Suraski
81d901b14d
Step 1 in nuking the garbage collector:
- Change the hash destructor to return int
- Don't kill the bucket on hash_destroy if the destructor returns 0
27 years ago
Zeev Suraski
d035af4af1
*** empty log message ***
27 years ago
Zeev Suraski
99fd17df63
Change __print into to_string()
27 years ago
Zeev Suraski
da9faa2c3a
* Make the output handling of variables much, much cooler.
Uses zend_make_printable_zval() instead of convert_to_string() now:
$foo = true;
print "\$foo is $foo";
will now print
$foo is true
(instead of "$foo is 1", earlier).
Also, with objects, it automatically tries to call __print() and use it as a printing
function.
For example:
class foo {
function __print() { return "Foo Object"; }
};
$foo = new foo;
print $foo;
will print "Foo Object".
27 years ago
Zeev Suraski
ed06a70f7f
* Centralized shutdown
* Change shutdown order again
27 years ago
Zeev Suraski
9108abc287
Minor updates (mostly __declspec() stuff)
27 years ago
Zeev Suraski
b0bfa458b5
* Fix all hash checks that checked Bucket.arKey for NULL, when it was changed
to char[1], these checks should have been changed to Bucket.nKeyLength==0
* Support runtime declaration of functions. I ended up changing the grammar
to catch top level functions vs. nested functions. The reason is simple -
if we don't have functions properly declared at compile-time, function calls
cannot be resolved at compile time, and have to be resolved at runtime, which
ends up being much much slower (without the optimizer, that is).
It's no biggy though, the grammar change isn't that bad.
27 years ago
Zeev Suraski
6bc6dacf5c
Fixes:
* Avoid closing stdin (I could have sworn I've committed that already)
* unclean_shutdown patches
27 years ago
Zeev Suraski
74a9ed7b3f
Weed out all BoundsChecker-found bugs (including a serious file descriptor leak
in the C++ scanner)
27 years ago
Zeev Suraski
bfbe86187e
Almost forgot to commit those
27 years ago
Andi Gutmans
fcaf734f94
- Don't support interactive mode when thread safe.
27 years ago
Zeev Suraski
7c4a08381e
Various thread safety fixes and DLL updates
27 years ago
Andi Gutmans
df6134bc42
-More commits
27 years ago
Zeev Suraski
e06a1ed265
Thread safety fixes
27 years ago
Zeev Suraski
a9f9ae7920
Thread safety patch. It works now with 'just in time' resource initialization!
27 years ago
Zeev Suraski
7a87fcbbda
Thread safety patch. We're still not quite there but it compiles again, and
more logic has been implemented.
27 years ago
Zeev Suraski
342c6e0b23
Whatnot:
* updated alloc_persist to use critical sections
* changed extension shutdown to two-phase
* updated dependencies
* PR support (don't remember if there was any really)
27 years ago
Zeev Suraski
7656c77c38
We need to initialize the utility values after we initialize the INI file, which in
turn, is after we initialize Zend. Set the utility values separately from Zend's
initialization
27 years ago
Rasmus Lerdorf
a6043d3e1e
*** empty log message ***
27 years ago
Andi Gutmans
573b46022c
Zend Library
27 years ago