Andi Gutmans
ae11748038
Fix UNIX build
2000-06-16 02:49:21 +00:00
Zeev Suraski
a6d9b5ed18
Macro it up the right way
2000-06-16 02:48:35 +00:00
Zeev Suraski
b791918443
Macro this up, so it can be moved to other places
2000-06-16 02:47:00 +00:00
Zeev Suraski
ef0bd3d102
- Move timeout code to Zend
...
- Implement timeouts in Win32
2000-06-16 01:54:56 +00:00
Zeev Suraski
8b794bb1dd
Fix non thread-safe mode - asp_tags/short_tags etc weren't getting initialized properly
2000-06-15 19:18:57 +00:00
Andi Gutmans
e1705c0810
*** empty log message ***
2000-06-15 19:09:51 +00:00
Andi Gutmans
447bf163ef
- Support multiple arguments to unset()
2000-06-15 18:48:33 +00:00
Thies C. Arntzen
3ad9d62949
ups.
2000-06-15 18:23:18 +00:00
Thies C. Arntzen
565400780b
changed return type of ZEND_VERIFY_RESOURCE from FALSE to NULL
2000-06-15 18:15:51 +00:00
Sascha Schumann
7565347ba0
Move some stuff to zend_operators.h which is required by the
...
moved inline functions.
2000-06-14 19:55:32 +00:00
Andi Gutmans
988435cf04
- More correct way of doing bit mask
2000-06-14 19:10:30 +00:00
Sascha Schumann
17fe680117
Only replaced C0X and C0x, but not c0x..
2000-06-14 07:08:08 +00:00
Sascha Schumann
35f43ad274
Rename C0x-inline to C9x-inline, and frame preprocessor directives in
...
zend_gcc_inline.c with #ifndef C9X_INLINE_SEMANTICS..#endif.
2000-06-14 07:06:33 +00:00
Andi Gutmans
239d30bbee
- Make Win32 build
2000-06-14 04:10:34 +00:00
Andi Gutmans
727398b2d4
Add to the API
2000-06-13 19:01:22 +00:00
Sascha Schumann
df74f1dfab
Add optional support for C0x inline semantics.
...
These are enabled by specifying `--enable-c0x-inline' on the command
line. We might add an autoconf check for this particular feature
later.
2000-06-13 17:58:33 +00:00
Sascha Schumann
13692ff313
Add llist_apply_func_t and make prototypes use the typedefs.
2000-06-13 09:18:06 +00:00
Zeev Suraski
6b8059afe9
Make Egon happy :)
2000-06-12 22:03:53 +00:00
Zeev Suraski
e962769fee
Return the previous error handler from set_error_handler()
2000-06-12 20:31:02 +00:00
Zeev Suraski
fce92e3ca2
Avoid using E_CORE_* errorlevels in any place which is not in the global startup sequence
2000-06-12 20:22:17 +00:00
Zeev Suraski
968d2c5b33
Get rid of <?php_track_vars?>
2000-06-12 16:07:15 +00:00
Andi Gutmans
1f5ee72e2d
- Solve floating point precision crash on FreeBSD.
2000-06-11 18:07:14 +00:00
Andi Gutmans
5928970d22
- Fixes crash problem on FreeBSD when losing precision. Need to still see
...
- how to detect we're on FreeBSD
2000-06-11 17:45:19 +00:00
Zeev Suraski
07a8327a0e
Fix zend_get_parameters()
2000-06-11 16:19:31 +00:00
Andi Gutmans
390dccacac
- Fixed problem when using uninitialized values in comparisons with strings.
...
- They behave as empty strings again just like in PHP 3.
2000-06-10 14:39:06 +00:00
Zeev Suraski
53bdf0b5cc
I can't think of a reason of why it should just be a notice... Make it a warning, like it was in PHP 3.
2000-06-10 01:12:12 +00:00
Zeev Suraski
a29791411b
Fix bug #4768
2000-06-10 01:08:55 +00:00
Andrei Zmievski
b51aa1f36f
Made an alias for hash apply with arguments.
2000-06-09 20:18:16 +00:00
Andi Gutmans
ae19180641
- Forgot to remove the FIXME
2000-06-09 17:52:09 +00:00
Andi Gutmans
717acfe9c5
- Make the memory limit accurate
2000-06-09 17:51:37 +00:00
Andi Gutmans
605b1aa394
- Fix cache initialization
2000-06-09 16:08:30 +00:00
Andi Gutmans
9fb095b50e
- Allocate and cache in 8 byte blocks. Most allocators anyway use 8 byte
...
- blocks. This should help fragmentation and cache hits.
- The old tree is tagged as PRE_EIGHT_BYTE_ALLOC_PATCH
2000-06-09 15:54:14 +00:00
Zeev Suraski
03e842ccb8
Fix bug #4933
2000-06-09 15:42:49 +00:00
Zeev Suraski
fddf89aff7
Fixed bug #4819
2000-06-09 15:40:37 +00:00
Andi Gutmans
6bcc8ff0c7
- Time to change it. We changed register_internal_class() ->
...
- zend_register_internal_class()
2000-06-09 14:41:33 +00:00
Andi Gutmans
eb0e694665
- Andrei, this is for you!
...
- Add zend_register_internal_class_ex() which allows you to specify a
- parent to inherit from. You can either specify the parent directly or via
- its name.
2000-06-09 14:40:14 +00:00
Andi Gutmans
99b4051eca
- Typo
2000-06-09 13:36:36 +00:00
Andi Gutmans
edd7025645
- Remove old obsolete code.
2000-06-09 13:08:40 +00:00
Andi Gutmans
a712da5cee
- Make unset consistent with the way array offsets work
2000-06-09 13:07:26 +00:00
Stanislav Malyshev
e346a6b538
Handle unset with empty key
2000-06-09 10:59:21 +00:00
Andi Gutmans
6ce07a85e4
- Change register_internal_class to zend_register_internal_class for
...
- consistency.
- Andrei: I'm still thinking about the _ex you want me to implement
2000-06-09 08:41:59 +00:00
Sascha Schumann
b4e48b952e
Clean up acconfig.h
2000-06-08 06:12:26 +00:00
Sascha Schumann
039551788b
Add a couple of casts
2000-06-08 06:07:38 +00:00
Zeev Suraski
98bf43f229
Enable asp_tags/short_tags/allow_call_time_pass_by_reference to work on a per-directory
...
basis as well
2000-06-06 19:13:54 +00:00
Sascha Schumann
458352954d
Add newline at the end of the file (breaks at least SCO and Tru64 C compiler).
2000-06-06 02:47:43 +00:00
Andi Gutmans
d8d6ff3c4c
- Revert internazionalization fix.
2000-06-05 15:37:30 +00:00
Andi Gutmans
f8983e467f
- Complete change to create_function()
2000-06-05 06:52:02 +00:00
Zeev Suraski
1c36e3472f
Change shutdown order to sort out a crash when assigning a resource id to a static.
2000-06-04 22:09:16 +00:00
Zeev Suraski
bfac4633a5
- Support unordered hash comparisons
...
- Make == perform an unordered comparison with arrays/objects, and === perform an ordered comparison
2000-06-04 21:59:49 +00:00
Zeev Suraski
b7a8baf1bb
Rename lambda()
2000-06-04 21:30:56 +00:00
Zeev Suraski
dae76aa1b5
Support comparisons of arrays (with arrays) and objects (with objects)
2000-06-03 10:34:19 +00:00
Andi Gutmans
01d478ba56
- Change #if to #ifdef.
2000-06-03 07:34:20 +00:00
Zeev Suraski
2ffe85ddac
Don't take chances with new include files
2000-06-03 04:14:31 +00:00
Zeev Suraski
5a35a6bafc
Improve call_user_function() to support array($obj, $method)
2000-06-03 03:28:08 +00:00
Zeev Suraski
d4b160c0d6
- Export normalize_bool
...
- This global/static syntax fix brought us back to the 4 documented conflicts
2000-06-03 03:05:01 +00:00
Zeev Suraski
e374f6fd31
Fix a lambda() bug
2000-06-03 02:02:09 +00:00
Zeev Suraski
70345bd222
Add missing {
2000-06-03 01:50:15 +00:00
Zeev Suraski
0b7a9cea88
- Fix Win32 compilation (Use winsock2.h from now on)
...
- Add lambda() support
2000-06-03 01:49:49 +00:00
Andi Gutmans
1b993610c1
- global/static require a trailing ';'
2000-06-02 16:50:19 +00:00
Zeev Suraski
746f01802d
Update error code
2000-06-02 12:36:54 +00:00
Zeev Suraski
8a8c3eafc8
Nuke the old error code, use the new one
2000-06-02 12:21:49 +00:00
Zeev Suraski
898c8ead87
IS_BC isn't really being used, but still...
2000-05-31 19:08:18 +00:00
Zeev Suraski
13b67621cf
Fix a bug in static initializers/default values/class member variables that contained
...
array values
2000-05-31 19:07:09 +00:00
Zeev Suraski
bc7abb3300
Allow disabling of functions for security reasons
2000-05-29 17:16:52 +00:00
Andi Gutmans
015884dda5
- Use pointer arithmetic to speed up the function a bit
2000-05-28 18:59:40 +00:00
Andi Gutmans
0ebb7335c9
- This should have been done for 4.0.0.
...
- Default build is without debug now. Use --enable-debug if you want a
- debug build which includes leak/memory overwrite etc. detection
2000-05-28 17:39:30 +00:00
Andi Gutmans
b5447a4d7a
- Fixed scanning decimal numbers in internationalized environments. They should
...
- always be in standard US format e.g. 23.3
2000-05-26 07:49:56 +00:00
Zeev Suraski
385d1aa664
Fix a crash bug in certain situations of class redeclarations
2000-05-25 16:26:22 +00:00
Thies C. Arntzen
9b916e6a48
rename hastable -> _hashtable to avoid clashes
2000-05-24 09:52:57 +00:00
Thies C. Arntzen
78a1fdfcaa
add rdbuf() to our own istdiostream implementation, allowing C++ compile
...
using SUN and SGI native compilers. (by Jayakumar Muthukumarasamy <jk@kasenna.com>)
2000-05-24 09:44:02 +00:00
Zeev Suraski
0302ee5992
- Remove ugly Ltd.
2000-05-22 16:55:56 +00:00
Sam Ruby
c5cf13eb29
Windows build failure
2000-05-21 19:26:50 +00:00
Andi Gutmans
a8b0d9609c
- Fix Apache php source highlighting mode. It was crashing due to the
...
- module shutdown functions being called when the startup functions weren't
- being called.
2000-05-21 17:41:16 +00:00
Andi Gutmans
cc590f49f2
- Get ready for release
2000-05-21 16:29:38 +00:00
Zeev Suraski
c80906e4cc
Open these up for the API
2000-05-19 09:32:33 +00:00
Zeev Suraski
957327e8bc
Do it in thread unsafe mode for now.
2000-05-18 14:51:19 +00:00
Sascha Schumann
86c03cceb0
Kill warnings
2000-05-18 12:07:15 +00:00
Andi Gutmans
a786fc4ab7
- Do this someplace else.
2000-05-18 11:25:03 +00:00
Andi Gutmans
715ff77344
- Fix include() when used on resources (shouldn't work but shouldn't crash
...
either).
2000-05-18 10:21:24 +00:00
Andrei Zmievski
3df1e68fe9
Update for sort functions - user can now specify sort type.
2000-05-18 01:53:41 +00:00
Andi Gutmans
0aefa3e037
- Add support for string_compare_function() and number_compare_function().
...
UNTESTED!
2000-05-17 18:55:22 +00:00
Zeev Suraski
760a17729e
Normalize results of compare_function()
2000-05-17 17:08:25 +00:00
Zeev Suraski
5fcb963f09
Fix crash if %> is encountered in HTML while ASP-tags are disabled
2000-05-17 15:50:30 +00:00
Andi Gutmans
03c844305f
Fix order
2000-05-17 15:24:49 +00:00
Sascha Schumann
8669a15755
Add missing prototype
2000-05-17 00:35:08 +00:00
Zeev Suraski
ac0e07ecda
- Small optimization. Filling up the Cache helps performance.
2000-05-16 15:42:16 +00:00
Sascha Schumann
afedd22f19
Fix parallel makes on BSD
2000-05-12 09:05:05 +00:00
Zeev Suraski
0d6a794d85
Get rid of chval - it's really not necessary and seems to be confusing people
2000-05-11 19:18:11 +00:00
Zeev Suraski
9a751419cf
Refined fix
2000-05-11 18:49:45 +00:00
Zeev Suraski
cb35b7e4ed
Fix a memory corruption bug with by-ref function arguments
2000-05-11 18:31:21 +00:00
Andi Gutmans
33f8ab3800
- Bump up Zend extension version number
2000-05-10 12:28:13 +00:00
Thies C. Arntzen
354272315a
make waning readable
2000-05-10 09:40:46 +00:00
Andi Gutmans
30da5fd8fc
Thoroughly initialize IS_UNUSED for proper cleanup
2000-05-08 21:46:48 +00:00
Andi Gutmans
63b7056f9a
- Change Zend Engine version number
2000-05-08 16:33:52 +00:00
Andi Gutmans
a9ec11476c
- Return real size allocated
2000-05-08 16:18:20 +00:00
Zeev Suraski
19de3be052
Make zend_binary_strcasecmp compile again
2000-05-08 10:24:26 +00:00
Sascha Schumann
36c1a9a39d
Make strcasecmp() act correctly WRT SUS II.
...
Patch by: hholzgra@php.net
PR: #3556
2000-05-08 10:05:19 +00:00
Andi Gutmans
dc704e26fe
- Make zend_eval_string() return SUCCESS/FAILURE
2000-05-06 18:49:46 +00:00
Andi Gutmans
686bd5724b
- Make $obj->test = 5; work again (assigning to uninitialized objects)
2000-05-06 18:40:48 +00:00
Sascha Schumann
788feca4ae
Linking directly against libc might result in unexpected behaviour.
...
We check for dlopen in libdl first, and check then whether dlopen exists.
2000-05-05 12:17:41 +00:00
Andi Gutmans
69eb908f06
- Change fetch_type to be zend_uint
2000-05-03 18:01:35 +00:00
Andi Gutmans
f2471fd50a
- Change the place CAST uses for the op_type
2000-05-03 17:56:44 +00:00
Zeev Suraski
8ca13c97c2
Change zend_hash_get_current_key_ex() to also return the string length
2000-05-02 17:52:31 +00:00
Sascha Schumann
99e2820bed
Fix segfault occuring when a temporary module was unloaded and if this
...
module did not have a request shutdown function.
2000-05-02 07:04:59 +00:00
Sascha Schumann
0b6d923bae
Add ZEND_GET_MODULE(name). This is a short-cut for the common
...
get_module function.
2000-05-02 01:33:18 +00:00
Sascha Schumann
7a2d83acdc
Source file does not end with a newline. Some old compilers don't like that.
2000-05-01 22:36:10 +00:00
Andrei Zmievski
164e4e50b9
Added a way to get all declared classes.
2000-05-01 16:22:00 +00:00
Sascha Schumann
1743bb0346
Fix dependency
2000-05-01 05:46:02 +00:00
Zeev Suraski
5ef03c4ff8
Pass the op_array to the ctor/dtor, instead of just the resource
2000-04-29 11:55:20 +00:00
Zeev Suraski
96c648c9f7
crash fix
2000-04-29 10:34:03 +00:00
Zeev Suraski
8aac6e7d3d
- Add zend_llist_apply_with_arguments()
...
- Add a message handler to the extensions
2000-04-29 10:20:40 +00:00
Zeev Suraski
42d15298d7
Fix possible bug with extension dtors being called without the ctors being called first
2000-04-29 02:56:44 +00:00
Zeev Suraski
e0a48fe623
Beautify
2000-04-29 01:30:17 +00:00
Zeev Suraski
ddbcbb666d
Fix a bug in the resource dispencer
2000-04-28 15:52:02 +00:00
Zeev Suraski
ddc36fb776
Make convert_to_string() allocations traceable
2000-04-28 13:31:51 +00:00
Zeev Suraski
974671eced
*** empty log message ***
2000-04-27 21:48:47 +00:00
Zeev Suraski
4b6594c5e9
Change to using the #define's
2000-04-27 21:26:17 +00:00
Zeev Suraski
b80b8381d4
More error handling work (still completely disabled)
2000-04-27 19:38:11 +00:00
Zeev Suraski
fa7c418b79
Fix - forgot to split away if refcount>1
2000-04-26 22:10:06 +00:00
Zeev Suraski
94a724f686
Fix bug
2000-04-25 14:20:52 +00:00
Zeev Suraski
a20e90abb3
We'll need two...
2000-04-25 10:44:50 +00:00
Zeev Suraski
0a14a32c78
Add useful macros
2000-04-25 10:10:44 +00:00
Andi Gutmans
382653aebc
- Fix persistence of llist
2000-04-25 09:45:58 +00:00
Zeev Suraski
e16c38b3f5
- Forgot to keep the ':' in the class_name
2000-04-24 22:13:08 +00:00
Zeev Suraski
dc93a62cbb
Correct fix
2000-04-24 16:04:13 +00:00
Thies C. Arntzen
9786e4450a
MODULE_TEMPORARY should get a call to RSHUTDOWN as well!
2000-04-24 15:49:23 +00:00
Thies C. Arntzen
f4c9d96f2e
fixed shutdown crash if MSHUTDOWN tries to php_error() something.
2000-04-24 12:47:07 +00:00
Thies C. Arntzen
80486c95be
export zval_add-ref and zvale_del_ref
2000-04-21 14:45:10 +00:00
Zeev Suraski
9e10ac5b1d
- Change macro names from Z to Z_
2000-04-20 14:55:16 +00:00
Zeev Suraski
9022a4bdbd
Add some macros for nicer zval handling
2000-04-20 14:32:39 +00:00
Andrei Zmievski
bbe0df125e
Do proper ieeefp.h check.
2000-04-20 13:49:07 +00:00
Thies C. Arntzen
c1c8422dbf
compile before commit! compile before commit! compile before commit!
2000-04-20 07:24:56 +00:00
Thies C. Arntzen
2b3a575ab3
revert andrei's path (i can't compile anymore on linux)
...
we're always using #ifndef HAVE_BLA instead of if !HAVE_BLA and if we need ieeefp.h for some weird platform (which one is that?) we need an autoconf check for it.
2000-04-20 07:23:55 +00:00
Andrei Zmievski
fe1147b01a
Include proper files for finite.
2000-04-19 15:55:52 +00:00
Zeev Suraski
67f6974373
Initial support for trapping errors (not complete and disabled; will be enabled only
...
post-PHP 4.0.0)
2000-04-19 15:08:06 +00:00
Zeev Suraski
a51d3058f7
- Renamed get_used_files() to get_required_files() for consistency
...
- Documented some functions
- Added user-level warning messages
- Added user_error()
2000-04-19 13:15:13 +00:00
Andi Gutmans
207167c54b
- Export pass_include() for Windows
2000-04-19 08:17:34 +00:00
Zeev Suraski
d191777b3f
Add convert_to_writable_*_ex() macros (unused at this time)
2000-04-18 22:23:28 +00:00
Andi Gutmans
4f15966d1b
- Fix order of JMPZNZ arguments
2000-04-17 17:16:47 +00:00
Thies C. Arntzen
44e0d27685
ups, finite is already a macro on Win32
2000-04-17 13:25:16 +00:00
Thies C. Arntzen
8367275477
HPUX11 only has isfinite()
2000-04-17 10:39:13 +00:00
Andi Gutmans
5097f64256
- Fix leak in require_once()
2000-04-15 17:02:42 +00:00
Thies C. Arntzen
a1608562ae
fixes compile on platforms without dl() support.
...
#i think zend_register_extension should be declared static
2000-04-15 15:32:32 +00:00
Zeev Suraski
603d5ff5d8
Fix ZTS
2000-04-15 14:17:18 +00:00
Andi Gutmans
938598b8d2
@ "use" is not yet supported; instead use include_once() or require_once()
...
@ for the time being (Andi, Zend library)
2000-04-15 13:56:09 +00:00
Zeev Suraski
4cb9a483d2
- Clean up resource lists namespace
...
- Prepare extended resource list destructor APIs (currently unused)
2000-04-15 13:02:22 +00:00
Zeev Suraski
c6c261e922
Fix a memory leak when using assign-op bitwise operators on strings
2000-04-13 15:56:02 +00:00
Zeev Suraski
021631d5eb
*** empty log message ***
2000-04-12 00:50:21 +00:00
Andi Gutmans
804861c5ac
- Fix memory leak
2000-04-11 18:16:58 +00:00
Zeev Suraski
d17e3d6b18
Fix warnings
2000-04-11 17:38:19 +00:00
Zeev Suraski
97c9603b02
Fix fd leak in include_once()
2000-04-11 17:30:37 +00:00
Andi Gutmans
73c6fbff7e
-
2000-04-10 21:12:33 +00:00
Zeev Suraski
e663d856b3
Fix object overloading support
2000-04-10 20:21:13 +00:00
Andi Gutmans
c5d5c69bfe
- Add warnings
2000-04-10 19:54:45 +00:00
Andi Gutmans
cc0d6ac19c
- Two more places needed changing
2000-04-10 18:24:38 +00:00
Zeev Suraski
232b90454f
Clean up last/size definitions
2000-04-10 18:02:40 +00:00
Zeev Suraski
4cdcf638ce
*** empty log message ***
2000-04-09 16:08:10 +00:00
Zeev Suraski
1cf5c33627
Thoroughly fix include_once()
2000-04-07 22:03:46 +00:00
Zeev Suraski
ed6e734047
Fix include_once()
2000-04-07 21:16:19 +00:00
Andi Gutmans
56fc855afd
*** empty log message ***
2000-04-06 17:39:52 +00:00
Andi Gutmans
a9159c2eec
Initial preparation for OO overloading patch
2000-04-06 16:34:55 +00:00
Andi Gutmans
4ee5cad9f9
- Bump up version number
2000-04-05 21:06:50 +00:00
Andi Gutmans
da3db3d864
- FIx JMPZNZ
2000-04-05 20:55:51 +00:00
Zeev Suraski
f44afc6e99
Fix the problem with dl()'d modules not freeing their resources properly
2000-04-03 05:26:41 +00:00
Zeev Suraski
131d9cb2dc
*** empty log message ***
2000-04-01 16:23:13 +00:00
Zeev Suraski
983cc700a9
Have a standard way of exporting symbols
2000-04-01 15:16:11 +00:00
Zeev Suraski
9e2fb7bb41
Use int
2000-04-01 14:36:41 +00:00
Zeev Suraski
0d21940d54
Generalize some common thread-safety stuff
2000-04-01 14:15:20 +00:00
Zeev Suraski
ef426d467c
Have a standard entry for the globals id
2000-04-01 13:20:51 +00:00
Zeev Suraski
523f3cce5f
The previous fix ended up being broken, this one should do it
2000-03-31 15:17:43 +00:00
Andi Gutmans
24302e89e5
- Fix bug
2000-03-31 00:05:41 +00:00
Zeev Suraski
5f6ad55543
Fix zend_register_extension()
2000-03-30 18:06:41 +00:00
Andi Gutmans
0ccbd9d9ec
- Bump up API number after Lars' change
2000-03-30 05:04:39 +00:00
Sascha Schumann
41eef61c69
Give another hint to BSD makes
2000-03-30 04:11:31 +00:00
Sascha Schumann
c7040b71bc
Specifically mention $(srcdir), so that OpenBSD's make gets it
2000-03-30 00:59:47 +00:00
Zeev Suraski
b7cd2bfa8e
- Make the argument order for the stack applies more consistent with other Zend
...
data structures
- Fix a possible corruption problem due to switch() C-level optimization
2000-03-29 22:28:04 +00:00
Torben Wilson
521c8af6a4
Added !== (is not identical) operator.
2000-03-29 22:05:19 +00:00
Zeev Suraski
fcf0afce17
*** empty log message ***
2000-03-29 19:26:34 +00:00
Andi Gutmans
e9d126a7d3
- Make sure zend_API.h has Zend'ish versions of the ZEND macros so that
...
Zend'ish modules don't need to mix PHP & Zend notation.
2000-03-29 17:13:16 +00:00
Zeev Suraski
a65971221f
The checks for func_num_args() and friends were broken - fixed
2000-03-28 17:34:21 +00:00
Sam Ruby
4ce6480745
Remove debug libraries from debug build
2000-03-27 01:00:21 +00:00
Andi Gutmans
7fd92b524d
- Stop zend_func_args() and co. from crashing
2000-03-26 18:40:24 +00:00
Andi Gutmans
9df63e183e
- Didn't see Thies' commit message although I can't really see how it would
...
make a difference
2000-03-26 16:28:37 +00:00
Andi Gutmans
b763b25c96
- Include Andrea's fix for alloca.h
2000-03-26 16:00:35 +00:00
Thies C. Arntzen
7ec4e5e21b
<alloca.h> needs to be included before we define macros calling alloca()
...
atleast using SGI's cc - should not harm other platforms (i hope)
2000-03-26 14:46:25 +00:00
Thies C. Arntzen
70003624fa
fix cast
2000-03-26 14:25:20 +00:00
Andi Gutmans
2572b088d0
*** empty log message ***
2000-03-25 19:23:16 +00:00
Zeev Suraski
5dba477467
- Some header dependencies cleanup
...
- Generalize zval_print() and zval_print_r()
2000-03-25 19:10:07 +00:00
Sam Ruby
1e4e9b34e2
RTLD_NOW => RTLD_LAZY|RTLD_GLOBAL
2000-03-25 15:40:08 +00:00
Zeev Suraski
7e576d36e8
Update dsp's
2000-03-25 15:35:35 +00:00
Zeev Suraski
5bdd53972f
- Fixed a crash when sending a non-variable expression to a runtime-bound function
...
that expected a reference.
2000-03-24 23:51:34 +00:00
Andi Gutmans
6db18997bb
- Nuke hash_*_ptr functions
2000-03-24 11:12:30 +00:00
Andrei Zmievski
0eaa79e4eb
Use WRONG_PARAM_COUNT.
2000-03-23 18:40:55 +00:00
Zeev Suraski
7bd5794a07
- Make it compile
2000-03-23 18:31:18 +00:00
Andrei Zmievski
40e99c5e9f
Added get_class_methods().
2000-03-23 17:47:28 +00:00
Andi Gutmans
326f69f54e
- Change Zend version as API has changed
2000-03-22 19:07:47 +00:00
Zeev Suraski
2e68fc59e3
- Wrong fix
2000-03-22 18:43:25 +00:00
Zeev Suraski
4d68c944d9
- Only free when result != op1
2000-03-22 18:36:02 +00:00
Andi Gutmans
13e7413182
- Change zend_startup to accept a flag for starting builtin functions
2000-03-21 19:01:19 +00:00
Andi Gutmans
bf18f87644
- Move #defines
2000-03-21 18:48:28 +00:00
Thies C. Arntzen
3b88c31bfc
kill warning
2000-03-19 10:50:48 +00:00
Andi Gutmans
8b8077709e
- Fix compile problem on FreeBSD
2000-03-18 16:11:42 +00:00
Andi Gutmans
512ff32f87
- No reason for refcount to be signed and move to zend_* typedefs
2000-03-18 16:00:30 +00:00
Thies C. Arntzen
3092c10e93
renamed _string_value_() to __string_value().
2000-03-18 14:55:29 +00:00
Zeev Suraski
caf9049ae1
The third argument to define() wasn't working right, fixed
2000-03-18 14:45:29 +00:00
Zeev Suraski
0b8ea28832
false wouldn't automaticaly switch to an array type, which resulted in an
...
incompatibility with PHP 3. Fixed.
2000-03-18 14:28:03 +00:00
Thies C. Arntzen
a4bf381557
renamed "to_string" -> "_string_value_"
2000-03-16 02:09:47 +00:00
Zeev Suraski
15dd8e61a2
- Fix newly introduced problem reported by Sam Ruby
2000-03-15 17:32:29 +00:00
Andrei Zmievski
ee286febe7
Make zend_hash_move_forward()/zenv_hash_move_backwards() a little smarter.
2000-03-15 16:25:59 +00:00
Zeev Suraski
f30765e1a0
- Fix warning (I thought I fixed this one before)
2000-03-15 16:18:21 +00:00
Andrei Zmievski
26eaf668e7
Implemented external list traversing.
2000-03-14 21:20:38 +00:00
Andi Gutmans
bc8e138250
- Allow array(1,2,3,) i.e. with trailing comma. You can only have one
...
trailing comma.
2000-03-14 15:37:15 +00:00
Zeev Suraski
84569c08fc
-
2000-03-13 18:01:43 +00:00
Zeev Suraski
fe37f4bca9
- Spare a byte :)
2000-03-13 17:59:30 +00:00
Andi Gutmans
61379fe0c3
- Another zend_uchar
2000-03-13 15:59:24 +00:00
Andi Gutmans
7fc5c94478
*** empty log message ***
2000-03-13 15:49:47 +00:00
Andi Gutmans
e92f6f15cb
- define zend_uint and zend_uchar and use them in a few places
2000-03-13 15:43:40 +00:00
Andrei Zmievski
a32c54bdbb
Introduced a way to traverse hashes through external pointers.
2000-03-13 15:25:18 +00:00
Andi Gutmans
712ffd4c14
- Change type from int -> char
2000-03-13 15:11:07 +00:00
Zeev Suraski
ea033715a9
- Fix filename/lineno initialization for do_return
2000-03-13 14:15:23 +00:00
Zeev Suraski
05cf4423b9
-
2000-03-12 18:08:46 +00:00
Andi Gutmans
51c10e49dd
- Remove inline from functions which are pretty large and besides eating up
...
memory in compile time probably doesn't boost performance.
2000-03-11 01:13:10 +00:00
Andi Gutmans
88c98d3e3f
- Seems to be a problem here with the return value not being set
2000-03-10 21:22:48 +00:00
Andi Gutmans
5951b166c8
- Quick way of supporting include_once().
...
Good enough for RC1.
2000-03-10 16:36:30 +00:00
Andi Gutmans
b5de395367
- Support require_once().
2000-03-10 16:04:16 +00:00
Andi Gutmans
9cc704421a
- Cleanup old IMPORT stuff
2000-03-10 15:05:00 +00:00
Andi Gutmans
d609112c0e
- Nuke import, add include_once and include_require scanner/parser rules.
...
Hope to nuke use too :)
2000-03-10 15:01:21 +00:00
Andi Gutmans
cf89b8db5a
- That broke the Win32 build
2000-03-10 12:26:59 +00:00
Andi Gutmans
29ed30f77c
- Fix a bug and define an API_NO for the ZEND_MODULE_API
2000-03-10 10:14:05 +00:00
Andi Gutmans
ab5ca792e4
- zend_config.h is enough
2000-03-10 08:36:04 +00:00
Andi Gutmans
3bd9e02380
- Save ZEND_DEBUG, ZTS, ZEND_API information
2000-03-10 08:28:54 +00:00
Andi Gutmans
5b570ecc01
- Fix bug in syntax highlighter
2000-03-09 16:02:05 +00:00
Stig S. Bakken
b6bc7dcd10
added GINIT_FUNC_ARGS and GINIT_FUNC_ARGS_PASSTHRU
2000-03-06 20:13:04 +00:00
Zeev Suraski
ca737cc01f
- Bump up Zend's API version
2000-03-06 19:25:08 +00:00
Stig S. Bakken
4562f7b6d7
Added ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU.
2000-03-06 18:46:10 +00:00
Andi Gutmans
31c9ad1831
- Fix memory leak
2000-03-06 17:13:38 +00:00
Andi Gutmans
6ef9f9fe9c
- Missed one
2000-03-06 15:58:50 +00:00
Sam Ruby
fc173b6ace
Unresolved externs
2000-03-06 10:46:40 +00:00
Zeev Suraski
5e55e47f7f
It's official now...
2000-03-06 05:26:39 +00:00
Zeev Suraski
56251a7239
Wrap some commonly unused callbacks
2000-03-05 19:50:10 +00:00
Zeev Suraski
99d782cf60
The default return value from include() and eval() changed from 1 to 0
...
unintentionally after the old return-reference patches - fixed
2000-03-04 03:12:17 +00:00
Sam Ruby
906b922051
Fix Win32 build breakage
2000-03-02 02:39:21 +00:00
Andi Gutmans
4dd71d4cfe
- Upgrade to year 2000
2000-03-01 17:24:43 +00:00
Andi Gutmans
110b670d44
- Fix typos
2000-03-01 17:10:45 +00:00
Thies C. Arntzen
4e5acab610
now
2000-03-01 13:59:51 +00:00
Egon Schmid
68ab1d3d07
Fixed some protos.
2000-02-27 18:41:19 +00:00
Sam Ruby
f1d0753f71
compilation error - Win32
2000-02-26 21:12:44 +00:00
Andrei Zmievski
685fd42965
Added get_class_vars() and get_object_vars() functions.
2000-02-26 17:54:00 +00:00
Andrei Zmievski
e6146d6bf3
Fix typo.
2000-02-26 16:21:29 +00:00
Zeev Suraski
80782eff1f
Fix comparisons of "inf"=="inf" and "-inf"=="-inf"
...
@- Comparing the string "inf" with "inf" returned false - fixed (Zeev)
2000-02-26 04:07:03 +00:00
Zeev Suraski
33a564c971
Use the fast cache here too
2000-02-25 17:55:33 +00:00
Zeev Suraski
0ac9536d99
(c) patch
2000-02-19 22:46:42 +00:00
Zeev Suraski
ceba50b6ed
- Fix a nasty bug in the hash, introduced in the recent migration to macros
...
- Make array_init() and friends trackable
2000-02-19 19:21:45 +00:00
Zeev Suraski
f77e6a4499
Generalize macros
2000-02-19 13:11:39 +00:00
Zeev Suraski
c54864e3af
*** empty log message ***
2000-02-18 21:15:48 +00:00
Sascha Schumann
d7e34cf6ea
Get rid of second declaration of compare_func_t. Either put in a common
...
header file or prefix it with i.e. zend_llist_
2000-02-18 20:04:32 +00:00
Andi Gutmans
e6b768105d
- Quick and dirty hack for supporting sorts. Improve later on when I wake up.
2000-02-18 14:33:28 +00:00
Andi Gutmans
ee26ec5e9c
- Didn't compile on Win32
2000-02-18 09:18:19 +00:00
Andi Gutmans
a0f2e9bf34
- Tiny change (I know I don't have to cast malloc() to void * but I like
...
casting my malloc()'s)
2000-02-18 00:22:20 +00:00
Andi Gutmans
18b8440c95
- Preliminary support for dynamic arrays. I need it on order to try out a
...
new hash implementation. It isn't used anywhere.
2000-02-18 00:14:23 +00:00
Andi Gutmans
f1a2ee55e0
- Add ZEND_API
2000-02-17 08:03:13 +00:00
Andi Gutmans
9bb9221642
-Fix bug 3504 concerning leaks with unset()
2000-02-16 16:49:44 +00:00
Andi Gutmans
9b840c5f59
- Hopefully fix Thies' bug report.
2000-02-16 16:00:02 +00:00
Zeev Suraski
2a4d65f3b8
ZEND_TEST_EXCEPTIONS should be defined/undefined before it's checked
2000-02-16 13:55:22 +00:00
Andi Gutmans
f79688e848
- Fix bug #3309
2000-02-16 09:20:10 +00:00
Andi Gutmans
7fa17e8e08
- Put in the infrastructure for the unset() fix. Right now it has the old
...
behavior but I just need time tomorrow to add the correct behavior.
2000-02-14 20:31:01 +00:00
Andi Gutmans
95c7788747
- Fix bug in func_get_arg()
...
- Get rid of compiler warnings for unused function crash()
2000-02-14 19:08:51 +00:00
Zeev Suraski
603aca0bb3
Fix a memory leak
2000-02-13 22:15:06 +00:00
Andi Gutmans
e578fad099
- Save a function call one very hash_add
2000-02-13 13:31:29 +00:00
Andi Gutmans
bb302a755c
- Make startup a bit faster by changing some hash_update()'s and hash_add()'s
...
to hash_update_ptr()/hash_add_ptr()
2000-02-13 13:22:02 +00:00
Andi Gutmans
920b7b2841
- Fix a couple of potential bugs where we were using emalloc/efree instead
...
of pemalloc/pefree.
- Fix a bug were we potentially would be freeing the key by mistake
2000-02-13 12:45:36 +00:00
Zeev Suraski
81662eb8f4
*** empty log message ***
2000-02-13 01:22:11 +00:00
Zeev Suraski
0b1c8b455a
Make (array) false == array() and not array(false)
2000-02-13 00:52:33 +00:00
Andrei Zmievski
94be61fde5
Made a couple of typedefs for zend_hash_apply_*() calls.
2000-02-11 21:12:49 +00:00
Zeev Suraski
2e7093d5ef
Update .dsp's
2000-02-11 16:28:50 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andi Gutmans
b48eebb114
- #define ZEND_WIN32 differently
2000-02-10 17:19:10 +00:00
Andi Gutmans
bc5c9d8d7b
- Finally beautify those WIN32|WINNT checks
2000-02-10 17:03:53 +00:00
Andi Gutmans
c8b321c678
- Shouldn't be there
2000-02-10 05:41:28 +00:00
Andi Gutmans
39c4687816
- Cleanup the code
2000-02-10 05:41:05 +00:00
Zeev Suraski
de8471ab4e
Fix last known nasty bugs in Zend. It'll be cool if there are no new ones :)
2000-02-09 21:48:16 +00:00
Thies C. Arntzen
2e7f24a487
foreach() works now for objects as well.
2000-02-09 15:38:56 +00:00
Zeev Suraski
ebddd16c75
Fix declaration
2000-02-08 22:18:21 +00:00
Zeev Suraski
ca5622c711
Fix an elusive bug
2000-02-08 20:10:47 +00:00
Andrei Zmievski
0f1c2504b1
Fix up the patch.
2000-02-08 17:59:28 +00:00
Andrei Zmievski
c2fd6752cf
Patches from Walter for strncmp() stuff.
2000-02-08 17:19:43 +00:00
Zeev Suraski
d5abab7322
Remove old unnecessary check
2000-02-07 18:53:43 +00:00
Zeev Suraski
0c470af314
Syntax highlighting was erronously emitting more than one semicolon and/or garbage with heredocs
2000-02-07 18:39:14 +00:00
Andi Gutmans
4b0da428e7
- Support the string offset syntax $a{2} with the regular array opcodes.
...
Will need to write new opcodes sometime but right now it's good enough
to announce the change to this string offset syntax for beta 4.
2000-02-06 20:18:35 +00:00
Andi Gutmans
7f48989be6
- This hopefully fixes the list($a, $a) = array(1,2) crash, i.e. when list
...
by mistake contains the same variable twice.
- BTW, there is no defined order of assignment. The value of $a after the
previous example is undefined, and should not be assumed to be either 1
nor 2.
2000-02-05 20:19:46 +00:00
Zeev Suraski
b1a837ad17
More cleanup
2000-02-05 16:38:50 +00:00
Zeev Suraski
f207b3623e
Pass the executor globals to internal functions
2000-02-05 15:40:05 +00:00
Zeev Suraski
9f51f154aa
- Stop passing list/plist to internal functions
...
- Add a typedef for the pCopyConstructor function pointer
- Minor hacks
2000-02-05 15:11:24 +00:00
Zeev Suraski
ef5d72cc37
That was the broken downcasting that prevented the interactive C++ mode from working properly under UNIX
2000-02-05 01:26:15 +00:00
Zeev Suraski
b6197bcf90
Maintain a state of whether we're compiling and/or executing
2000-02-04 14:45:58 +00:00
Andrei Zmievski
e0628436f3
*** empty log message ***
2000-02-03 18:51:33 +00:00
Zeev Suraski
8b9e07dace
- Fix built-in classes with more than 5 methods
2000-02-02 22:23:37 +00:00
Zeev Suraski
b3ec6d5d05
- Fix the annoying problem with list(), that surfaced up after our recent cleaning
...
patches
2000-02-02 16:47:43 +00:00
Andrei Zmievski
b995d2cc2f
Added add_property_unset() and add_property_bool().
2000-02-01 23:12:48 +00:00
Zeev Suraski
485412ecb1
Improve dependencies
2000-02-01 22:04:52 +00:00
Zeev Suraski
5cabf74445
Sort out a gdb problem
2000-02-01 19:22:59 +00:00
Zeev Suraski
39adeaf4f4
Fix warning
2000-02-01 18:54:01 +00:00
Andi Gutmans
131e3a06fb
- Get rid of remains of garbage.
...
- This should fix Thies' UMR
2000-02-01 16:02:38 +00:00
Thies C. Arntzen
11f53347c7
moved destroying of garbage before resource-list gets destroyed - (see my previous mail)
...
zeev, andi - please comment!
2000-02-01 11:41:15 +00:00
Thies C. Arntzen
8c4ab98e17
added missing break.
2000-02-01 11:37:33 +00:00
Thies C. Arntzen
d6afe4bac7
took out zend_hash_pointer_update() & zend_hash_pointer_index_update_or_next_insert() - i really prefer link-errors instead of runtime-errors, don't you?
2000-02-01 10:40:05 +00:00
Andi Gutmans
45686e3a55
- This has to always be done.
2000-01-31 21:09:14 +00:00
Zeev Suraski
f2d3ce4170
- Optimized garbage mechanism
...
- Fixed another buglet in the parser
2000-01-31 19:18:07 +00:00
Zeev Suraski
0517436bf9
- Fix foreach()
...
- Fix indirect reference with object properties
2000-01-31 18:21:54 +00:00
Andi Gutmans
fdbca7526f
- Fix the bug Thies found where I forgot to change a break; to NEXT_OPCODE();
...
- If you find anymore let me know
2000-01-30 21:17:29 +00:00
Andi Gutmans
0296bba808
- Run it on align_test
2000-01-30 04:49:43 +00:00
Zeev Suraski
400f464307
Fix ``'s
2000-01-29 17:49:05 +00:00
Zeev Suraski
ad115d2088
Fix require()
2000-01-29 17:19:47 +00:00
Andi Gutmans
6864e05ae3
- Get rid of another rule which isn't needed.
2000-01-29 10:20:05 +00:00
Andi Gutmans
7663e4f65e
- Add parser support for string offsets. This added three shift/reduce
...
conflicts but they all seem to be fine.
- Cleaned up the parsing rules a bit and made them much more compact and
elegant.
- Please CVS update and see that I didn't break anything.
2000-01-29 10:16:04 +00:00
Andi Gutmans
b862a8b728
- This will save some memory w/ GCC compilers on some platforms
2000-01-29 09:14:22 +00:00
Andi Gutmans
5da185594c
- Yet another tiny optimization.
2000-01-29 00:33:07 +00:00
Andi Gutmans
336bf35a2c
- Make loop a bit faster.
2000-01-28 22:23:28 +00:00
Andi Gutmans
059b64efbe
- Make sure its use is understood.
2000-01-28 21:46:07 +00:00
Andi Gutmans
c23056719e
- Double the speed of some key switch() tests for Win32.
2000-01-28 21:43:46 +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
Andi Gutmans
8b9765a917
- Keep objects as references.
2000-01-26 21:10:46 +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
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
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
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
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
549cf0381a
Leak fix
2000-01-18 22:18:17 +00:00
Thies C. Arntzen
cd377b646d
RETURN_NULL & RETVAL_NULL don't need ().
2000-01-18 08:40:45 +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
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
dc0e663241
Allow module startup to be separate from the compiler/executor startup
2000-01-16 19:41:15 +00:00
Thies C. Arntzen
bd375505f7
make the ht->inconsistent stuff less ugly:)
2000-01-16 09:45:10 +00:00
Zeev Suraski
caaeb9ff12
Fix a bug in call_user_function_ex()
2000-01-15 22:52:24 +00:00
Zeev Suraski
470fe972f5
Added support for $foo->{$bar}["foobar"] notation (was supported in PHP 3)
2000-01-15 17:17:32 +00:00
Thies C. Arntzen
c93a189028
if ZEND_DEBUG mode is on we'll now see warnings when a HashTable is accessed
...
while it's inconsistent.
Zeev, Andi - you welcome to revert this patch if you don't like it - i find it
useful! accesssing inconsistent hashtables is one of the hardest things to track!
2000-01-15 13:40:17 +00:00
Andrei Zmievski
7d425f38ee
Since we're highlighting code, put <code> and </code> around the code.
2000-01-14 19:35:29 +00:00
Zeev Suraski
f24931222c
Make Win32 compile again
2000-01-13 20:34:45 +00:00
Sascha Schumann
bf7b292db9
Move dl stuff from acconfig.h into zend.h. That allows us finer control
...
when it comes to suppressing dlfcn.h.
2000-01-12 19:52:33 +00:00
Zeev Suraski
d3cad4f289
Functionality & crash fixes
2000-01-09 19:16:34 +00:00
Andi Gutmans
44e9e95933
- Rename IS_BC to FLAG_IS_BC. We will probably nuke it.
2000-01-04 14:25:42 +00:00
Thies C. Arntzen
af22085c51
added ZVAL_*() macros.
2000-01-04 13:56:17 +00:00
Andi Gutmans
b8cebe32e3
- Separate the overloaded objects' types from Zend's data types.
...
There is no reason for them to be the same, and IS_METHOD just cluttered
there data types.
2000-01-04 13:52:52 +00:00
Andi Gutmans
bdefd5da15
- Change IS_UNSET -> IS_NULL
2000-01-04 13:22:58 +00:00
Zeev Suraski
f29ee8f7ee
Fix a bug when using [] on a string
2000-01-03 20:01:54 +00:00
Joey Smith
c5589a9dd5
# There is no functions/ directory in PHP4.
...
@ number.h comes from ext/bcmath, not functions/
number.h comes from ext/bcmath, not functions/
2000-01-03 18:53:29 +00:00
Zeev Suraski
8e99c415ab
Fix
2000-01-03 17:26:24 +00:00
Andi Gutmans
da8ad4f20f
- Fix compare_function() for IS_UNSET
2000-01-03 05:28:34 +00:00
Zeev Suraski
990ac99c97
Fix
2000-01-02 16:47:00 +00:00
Thies C. Arntzen
bc6811ec90
renamed RET???_UNSET -> RET???_NULL
2000-01-02 11:44:33 +00:00
Sascha Schumann
800ffda01c
Some cleanup
2000-01-01 20:49:34 +00:00
Andi Gutmans
4a4fe0974f
- IS_NULL should be 0 when converted to a long although I don't think it
...
really should be documented.
2000-01-01 18:47:03 +00:00
Zeev Suraski
a6d4b30d19
Fix buglet
2000-01-01 15:31:59 +00:00
Zeev Suraski
4765396846
.dsp updates
1999-12-31 16:20:04 +00:00
Zeev Suraski
61b9e78e1b
- Add Release_inline builds
1999-12-31 15:41:18 +00:00
Zeev Suraski
f2d703e916
- Nuke undefined_variable_string
...
- Introduce IS_UNSET
1999-12-31 13:56:59 +00:00
Andi Gutmans
400ee6caa0
- Fix bug #3073 . continue in do..while() loops should work now
1999-12-31 12:56:48 +00:00
Zeev Suraski
5864b57eec
This should enable people to use ALLOC_ZVAL() in code outside the php4.dll
1999-12-30 05:25:44 +00:00
Sascha Schumann
d93da3c1c3
Solaris' sed does not like this expression. Since -O0 is the default,
...
we can also omit it.
1999-12-30 01:13:42 +00:00
Zeev Suraski
80e20b5fea
- Change var_reset() to set bool(0) instead of string("")
...
Authors should go over their code and change it to use var_reset() instead of manually
setting it to string(""), in case they're interested in the false value.
1999-12-29 17:29:26 +00:00
Zeev Suraski
8f88443aba
time_t is an int under Linux... this should always work.
1999-12-29 17:22:47 +00:00
Sascha Schumann
32ef59b290
Fix warnings
1999-12-28 20:33:02 +00:00
Thies C. Arntzen
546af70783
new constant: SQL_NULL
...
new macros: RETURN_SQLNULL,RETVAL_SQLNULL,IS_SQLNULL
1999-12-28 12:05:48 +00:00
Zeev Suraski
39d9a93acc
Fix
1999-12-27 22:03:25 +00:00
Andi Gutmans
c34a062f5c
- Get rid of warning
1999-12-27 19:17:40 +00:00
Zeev Suraski
b7a5b3c309
- Generalize the fast cache mechanism
...
- Add the HashTable struct to the fast cache mechanism
1999-12-27 19:07:33 +00:00
Andi Gutmans
27daca31f3
- Make zend_internal_function allocate a full zend_function structure so
...
that we don't get memory overruns and Thies doesn't get angry :)
1999-12-27 17:29:35 +00:00
Zeev Suraski
1ad06e428d
*** empty log message ***
1999-12-27 17:24:33 +00:00
Zeev Suraski
ebd4445ba2
Add cache statistics support
1999-12-27 16:42:59 +00:00
Thies C. Arntzen
9cf1a98d0e
fix UMR in ZTS mode
1999-12-27 11:22:57 +00:00
Zeev Suraski
3c50b7ee45
- Enable the new zval cache on debug too. No real reason not to, and it keeps
...
the code cleaner.
- ZTS compile fixes
1999-12-26 23:20:18 +00:00
Zeev Suraski
b90bc0b15c
Fix buglet
1999-12-26 22:50:08 +00:00
Zeev Suraski
90e1b0734e
Add missing file
1999-12-26 22:41:20 +00:00
Zeev Suraski
aec33aa753
Introduce a zval-specific cache - 5-15% speed improvement
1999-12-26 21:56:59 +00:00
Sascha Schumann
14f915ece6
Makefile.am: Add dummy target for dependencies
...
acinclude.m4: Cache result of broken sprintf check
1999-12-26 21:45:53 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Zeev Suraski
c517633b49
namespace protection
1999-12-26 20:45:42 +00:00
Zeev Suraski
7f27821c5f
inline functions cannot accept varargs
1999-12-25 23:52:00 +00:00
Andi Gutmans
88b7ed053f
- Prepare Zend for the new $a{2} string offset syntax.
1999-12-25 16:46:32 +00:00
Zeev Suraski
e25e3f092a
Use __forceinline under Win32 (inlining under Win32 gives roughly 30% performance
...
increase)
1999-12-24 21:27:55 +00:00
Zeev Suraski
57fbbf2036
Shut gcc up
1999-12-24 20:19:37 +00:00
Zeev Suraski
e28aff2f7a
Optimize
1999-12-24 16:03:44 +00:00
Andi Gutmans
62b2087a84
- Create two new macro's. ALLOC_ZVAL() and FREE_ZVAL(z) and make Zend use
...
them.
1999-12-24 15:22:11 +00:00
Zeev Suraski
946df29029
- Use function_add_ref() here too
1999-12-24 14:49:57 +00:00
Zeev Suraski
b996436b4c
Fix a class inheritence leak, when using static varibles in a parent class member function
1999-12-23 19:23:36 +00:00
Zeev Suraski
3b86ea7dc0
This one slipped away
1999-12-23 18:07:52 +00:00
Sascha Schumann
44ffdc182f
Rename option to match description string
1999-12-23 17:48:56 +00:00
Zeev Suraski
67b4b3a634
- require() of a dynamic expression now has the standard require() semantics
...
- Fixed a memory leak in require() of a dynamic expression
1999-12-23 15:03:25 +00:00
Sascha Schumann
9156d86009
Compile zend_execute.c with special CFLAGS. For GCC, INLINE_CFLAGS
...
contains -O0 to disable optimizations. This can be disabled by using
the appropiate parameter.
1999-12-23 13:29:26 +00:00
Sascha Schumann
473632bf0d
Kill compiler warning
1999-12-22 22:43:55 +00:00
Sascha Schumann
304f1ebcb2
Don't set DEBUG_CFLAGS to -g, if -g is already in CFLAGS
1999-12-22 21:04:34 +00:00
Zeev Suraski
5ba5f00f65
export
1999-12-22 20:24:52 +00:00
Zeev Suraski
11967c94fc
Those void's don't belong in there
1999-12-22 19:21:15 +00:00
Zeev Suraski
1fe57c9505
- Fix function_exists()
1999-12-22 18:49:23 +00:00
Zeev Suraski
5939b3d702
- Fix a very old legacy memory leak in break(n) statements
1999-12-22 18:10:38 +00:00
Zeev Suraski
5c56fd4793
Fix for the array() initialization bug Stas found
1999-12-22 15:34:38 +00:00
Andi Gutmans
ff737b6090
- Remove unused variable.
1999-12-22 14:38:00 +00:00
Zeev Suraski
f0888ccaef
Fix the highlighting problem. STR_REALLOC() should be used instead of plain erealloc()
...
whenever you're dealing with strings that might be coming back from the engine - there seem
to be a few other places like this in PHP.
1999-12-21 20:30:04 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Zeev Suraski
8a4170e6bd
- Fix Sascha's leak. Good report!
1999-12-21 15:55:46 +00:00
Zeev Suraski
3a47431122
No need to block for interruptions so early
1999-12-21 15:48:56 +00:00
Sascha Schumann
efeadf086b
Explicitly check for C++ preprocessor, otherwise autoconf forces it onto
...
us at the wrong place (subsequent autoconf checks failed).
1999-12-21 00:02:20 +00:00
Zeev Suraski
a2cc070fc2
- Fix @expr
1999-12-20 20:01:19 +00:00
Zeev Suraski
be1bb28355
- Fix the crash Thies was experiencing (returning a function call could cause a crash)
...
- Fix the leak Thies was experiencing (@fcall() leaked)
1999-12-20 16:05:36 +00:00
Zeev Suraski
8224207b26
Some updates
1999-12-19 21:29:24 +00:00
Zeev Suraski
2d87ae9ab6
Make these work again
1999-12-19 21:17:32 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00
Zeev Suraski
223c674c2a
- Made things work again (Thies, everybody - please check the latest CVS and see if you're
...
still getting any problems)
- Changed the interface of call_user_function_ex() to support returning of references
1999-12-19 18:54:40 +00:00
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.
1999-12-19 06:39:17 +00:00
Sascha Schumann
b3c440c06a
Add zend_sprintf.c
1999-12-19 01:50:10 +00:00
Sascha Schumann
2185831922
configure sets ZEND_BROKEN_SPRINTF
1999-12-19 01:47:43 +00:00
Sascha Schumann
bf1effa4bc
Variables are not interpolated unless we use _UNQUOTED
1999-12-19 00:10:08 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Sascha Schumann
f1fcb022be
Let autoconf check for the proper inline keyword
1999-12-18 22:37:22 +00:00
Sascha Schumann
11c9545416
automake created illegal target names due to the ZEND_SCANNER definition.
...
We now substitute @ZEND_SCANNER@ directly
1999-12-18 22:30:23 +00:00
Zeev Suraski
cd7d5546ae
- Introduce ZEND_NUM_ARGS(), to replace ARG_COUNT(ht)
...
- Rename getParameters() and friends for consistency and namespace cleanliness
1999-12-18 22:23:23 +00:00
Zeev Suraski
71dddd7db7
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:01:47 +00:00
Sascha Schumann
fb61a2c944
Define inline to inline explicitly
1999-12-17 17:50:14 +00:00
Sascha Schumann
91549cfa4f
Move config code into separate file
1999-12-17 13:36:15 +00:00
Andi Gutmans
7fe808ea02
- By mistake commited this to the branch. It fixes a bug we introduced with
...
the return reference patch.
1999-12-17 08:24:10 +00:00
Andrei Zmievski
8a879b8fc5
Doh! I'm an idiot.
1999-12-15 22:37:05 +00:00
Andrei Zmievski
c9c6446aa1
- s/inheritence/inheritance/g
...
- Added is_subclass_of() function
1999-12-15 21:26:43 +00:00
Zeev Suraski
ced9cee10c
- Implement return by reference:
...
- In function declaration instead of the return statement
- In the assignment phase
- Implement ability to turn off support for call-time pass by reference
1999-12-15 20:15:32 +00:00
Andrei Zmievski
22344ea595
val->len
1999-12-15 16:54:46 +00:00
Andrei Zmievski
46b14f85c3
Faster, must go faster.
1999-12-15 15:59:04 +00:00
Andrei Zmievski
3fdf0dbedc
- Added class_exists()
...
- Moved function_exists() here from from the basic_functions.c
- Modified method_exists() to convert method name to lowercase
when checking
1999-12-14 21:15:24 +00:00
Andi Gutmans
e36be38140
- opened_path should not be freed here as the zend_file_dtor() takes care
...
of it. This doesn't fix the bug report for the crash of highlight_file()
though.
1999-12-07 16:00:39 +00:00
Zeev Suraski
3d160b5b7c
Support ZTS definition in zend_config.h
1999-12-07 06:19:42 +00:00
Zeev Suraski
ef596bbafb
Move the #include of zend-parser.h out of zend_compile.h
1999-12-06 20:42:44 +00:00
Zeev Suraski
291066c459
More localization
1999-12-06 19:03:57 +00:00
Zeev Suraski
00c3ac908b
Localize a couple of macros
1999-12-06 15:31:06 +00:00
Zeev Suraski
624117e5e4
*** empty log message ***
1999-12-05 23:32:21 +00:00
Sascha Schumann
70df2d7478
Fix some warnings
1999-12-05 16:23:45 +00:00
Andrei Zmievski
83ce7c13d1
*** empty log message ***
1999-12-04 18:57:44 +00:00
Andrei Zmievski
f962a35df7
Added zend_set_hash_symbol() function.
1999-12-04 16:50:18 +00:00
Thies C. Arntzen
0a276c2ff3
backed out last change after andi decided on a different approach.
1999-12-04 16:08:43 +00:00
Andi Gutmans
4c8259b538
- Call ZEND_SET_SYMBOL_WITH_LENGTH() with refcount 1 from the standard
...
ZEND_SET_SYMBOL()
1999-12-04 14:56:44 +00:00
Zeev Suraski
efc84af940
- Implement get_used_files() and get_imported_files()
1999-12-04 14:26:26 +00:00
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
1999-12-04 13:26:57 +00:00
Thies C. Arntzen
502bb337fe
the new SET_VAR_* macros forgot to set the refcount!
1999-12-04 13:18:08 +00:00
Sam Ruby
6fb3b8c66f
build error - windows
1999-12-04 13:13:45 +00:00
Stig S. Bakken
aaadc71d5d
Fix typo, add prototype for use_filename().
1999-12-04 11:45:14 +00:00
Stig S. Bakken
3570e8891d
"use" should use arg+".php" as parameter to require
1999-12-04 11:43:07 +00:00
Zeev Suraski
cad92c80cc
This should fix the fd leak with include()/require()
1999-12-04 10:59:30 +00:00
Andrei Zmievski
e345066140
*** empty log message ***
1999-12-03 17:03:35 +00:00
Andrei Zmievski
fec413c557
Added ZEND_SET_GLOBAL_VAR_WITH_LENGTH_EX() macro.
1999-12-03 16:59:04 +00:00
Thies C. Arntzen
0d7e971355
revert my last patch - WARNING: we leak fd's again.
...
add initialzation of opened_path highlight_file()
1999-12-03 14:07:00 +00:00
Andi Gutmans
c34560b53d
- Remove _EX and make it the old _LENGTH
1999-12-03 07:54:17 +00:00
Andi Gutmans
2f5efbdea6
- Add _EX macro for Andrei
1999-12-02 20:38:41 +00:00
Zeev Suraski
fdcaba4096
Solve a couple of compile issues
1999-12-02 18:59:29 +00:00
Thies C. Arntzen
b92d70aabe
php_fopen_wrapper_for_zend() does *NOT* insert the opened files into any list - the caller needs to fclose() the file. (not sure if this is desired)
...
fixed "Uninitialized memory read" when including URLs
1999-12-02 14:37:16 +00:00
Stig S. Bakken
93536507f6
Fix warnings surfacing in maintainer-mode.
1999-12-01 22:55:20 +00:00
Zeev Suraski
2ddc4fe4f5
Make it possible to explicitly set refcount in ZEND_SET_SYMBOL_WITH_LENGTH(), part 2
1999-12-01 22:00:58 +00:00
Zeev Suraski
158088ca1a
Allow to set the reference count explicitly for ZEND_SET_SYMBOL_WITH_LENGTH()
1999-12-01 21:47:47 +00:00
Andi Gutmans
14382523bf
- Forgot to check for BP_VAR_IS in the fix made for Thies' string offset
...
problem.
1999-12-01 14:55:58 +00:00
Andi Gutmans
3a17630121
- Applied Thies' bug fix. Great work!
1999-11-30 20:37:52 +00:00
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)
1999-11-30 20:15:04 +00:00
Andi Gutmans
08304a3c93
- Fix problem Thies reported. We by mistake separated variables which were
...
being fetched for read only.
1999-11-30 17:10:11 +00:00
Zeev Suraski
4481898ff7
Add ability to disable the memory cache
1999-11-27 00:04:36 +00:00
Zeev Suraski
74f6202aa6
- Fix fd leak in ZTS mode
1999-11-26 23:54:05 +00:00
Zeev Suraski
6be3723f3d
UNIX/non ZTS compile fixes
1999-11-26 23:48:04 +00:00
Zeev Suraski
58153dfed0
- Improve the file handle closing code
1999-11-26 23:45:22 +00:00
Zeev Suraski
cd53944435
- Modify zend_llist_del() to receive a comparison function
1999-11-26 23:44:41 +00:00
Zeev Suraski
71b1219ee3
This request_shutdown() is no longer needed (never was needed really)
1999-11-26 20:19:28 +00:00
Zeev Suraski
b53bc48847
This should get the file to close properly
1999-11-26 18:37:06 +00:00
Sascha Schumann
ac8736c8ee
Rebuild libzend.la, if the scanner was rebuilt
1999-11-26 17:53:56 +00:00
Zeev Suraski
94b5119898
Remove request_started, increase thread safety
1999-11-26 13:53:18 +00:00
Zeev Suraski
f617a46305
That's a more thorough fix...
1999-11-25 16:21:01 +00:00
Zeev Suraski
f62a08c2ae
Fix bug #2817 - assignments to string offsets could erronously modify unrelated strings
1999-11-25 16:11:34 +00:00
Zeev Suraski
b264733bc1
Fix compile problem with enable-memory-limit
1999-11-22 22:27:04 +00:00
Zeev Suraski
3b9673ca58
Fix inconsistencies with here-docs implementation
1999-11-22 17:11:36 +00:00
Zeev Suraski
86a0efcff5
Fix #2744
1999-11-22 16:30:23 +00:00
Andi Gutmans
f3ca328b34
That slipped away
1999-11-21 18:19:08 +00:00
Zeev Suraski
6358c6631b
- Optimize class instanciation
...
- Fix constant instanciation for array elements inside objects
1999-11-21 18:11:10 +00:00
Andi Gutmans
1f11e07fc6
- Moved var_uninit() for return_value to the beginning of DO_FCALL.
...
We forgot to do it for overloaded methods
1999-11-19 17:04:54 +00:00
Andi Gutmans
817a11e7ed
- Functions whose return values aren't used have them freed in DO_FCALL
...
and don't need a special ZEND_FREE opcode following them anymore
1999-11-19 16:55:25 +00:00
Andi Gutmans
52045afb08
- If a function's return value is unused then don't create a ZEND_FREE
...
opcode but free it after the function call in zend_execute.
1999-11-17 17:21:15 +00:00
Andi Gutmans
800e00727a
- Forgot this
1999-11-17 04:38:38 +00:00
Andi Gutmans
3cd140cdef
- Weird that this compiled for me.
1999-11-16 20:31:29 +00:00
Andi Gutmans
247d3d3345
- CHange used_return_value -> return_value_used
1999-11-16 19:12:46 +00:00
Andi Gutmans
b7b614d0b5
- In any case create the free opcode. Need to allow the functions to
...
create a hint.
1999-11-16 18:46:32 +00:00
Andi Gutmans
dbb67ab9dc
- Add support for used_return_value passed to internal functions.
1999-11-16 18:30:06 +00:00
Andi Gutmans
4ebf7b85ad
- Fix comment as to Joey's findings
1999-11-14 10:30:39 +00:00
Andi Gutmans
d35ea24fc0
- Fix crash with string offset assignments.
1999-11-13 18:11:34 +00:00
Andrei Zmievski
3964c92f8b
Made zend_hash_rehash() callable from outside.
1999-11-04 21:02:35 +00:00
Andi Gutmans
6d988ec694
- Add support for BYREF_FORCE_REST
1999-11-03 19:21:56 +00:00
Andi Gutmans
83c79bb154
- Fix for Thies' leak and Andrei's crash
1999-10-28 15:53:31 +00:00
Zeev Suraski
7f35cfda71
*** empty log message ***
1999-10-25 16:07:14 +00:00
Sam Ruby
6576719dcb
Allow CYGWIN directory to be specified as via environment variable
1999-10-23 19:27:24 +00:00
Andi Gutmans
9b83d1ca5d
- Fix isset() with string offsets.
1999-10-22 22:35:16 +00:00
Thies C. Arntzen
816627b16c
fixed is_identicat_function()
1999-10-19 15:48:25 +00:00
Andi Gutmans
98f025430e
- Move IS_IDENTICAL next to IS_EQUAL
1999-10-19 14:19:42 +00:00
Andi Gutmans
70b41809f2
- Fix is_identical function
1999-10-19 14:11:39 +00:00
Andi Gutmans
7a205f6087
- Preliminary submit of Thie's patch. Will fix the rest on Windows
...
as this was added on UNIX with patch. Changed IS_SAME -> IS_IDENTICAL
1999-10-19 13:33:17 +00:00
Andrei Zmievski
52a30fd21b
Be safe, use ().
1999-10-18 14:17:36 +00:00
Andrei Zmievski
c279668168
unstatic'fy is_numeric_string()
1999-10-15 20:42:26 +00:00
Andrei Zmievski
e956a266e2
*** empty log message ***
1999-10-15 20:37:53 +00:00
Andrei Zmievski
62c1407a4d
*** empty log message ***
1999-10-15 13:45:28 +00:00
Andi Gutmans
4d7c162d16
- Add convert_to_number_ex()
1999-10-15 06:25:42 +00:00
Sascha Schumann
e77485a8f7
Add "--disable-inline" for low-memory machines (be it limited
...
RAM or virtual memory). It's also useful for Digital C where
the C++ compiler thinks "inline" is an invalid specifier.
1999-10-14 22:17:22 +00:00
Sascha Schumann
d58e6f2b00
Use sources from $(srcdir)
1999-10-14 17:20:25 +00:00
Sascha Schumann
2170fa6dea
Do not use $< for anything but implicit rules.
1999-10-13 16:16:09 +00:00
Thies C. Arntzen
6e07d060fc
(zend_fetch_resource) added warinig if resource is of wrong type
1999-10-13 12:59:48 +00:00
Sascha Schumann
8cc4fc6111
Disable ZEND_EXTENSIONS_SUPPORT, if RTLD_NOW is not defined.
...
Note that this part could be made platform independent by using
libltdl (for Solaris, Linux, *BSD, HP-UX, Win16/32, BeOS).
1999-10-13 00:17:01 +00:00
Thies C. Arntzen
6d7c18c1f5
new improved resource-API
1999-10-12 14:51:17 +00:00
Sascha Schumann
fc48083437
Use DL_LAZY for OpenBSD. This seems to be a compatibility flag which
...
should be used for the 2nd parameter to dlopen.
http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man3/dlfcn.3?rev=1.8
1999-10-12 14:48:32 +00:00
Andi Gutmans
faa1891782
- object.ptr was made NULL in DO_FCALL but wasn't restored. Right now I
...
push it in DO_FCALL and at the end of do_fcall_common it always gets
popped. We might be able to optimize it out.
1999-10-12 11:41:17 +00:00
Andrei Zmievski
8864313c48
Modified zend_hash() to accept a pointer to sort function.
1999-10-11 21:30:23 +00:00
Andi Gutmans
81aa9a36b6
- No idea why this bug didn't exist before. But I'm too tired to think of it.
...
During a regular do_fcall we need to set object.ptr to NULL and, thus,
push it in the beginning and pop it in the end.
I hope this fix more or less cuts it. I just want to sleep :)
1999-10-11 20:29:55 +00:00
Andi Gutmans
3a88d5a68e
- Didn't lower refcount when doing an internal function call linked to a regular object.
1999-10-10 18:31:42 +00:00
Andi Gutmans
274ce69429
- Clean up a bit. Separate before the locking so that we can use SEPARATE_ZVAL
...
macro.
1999-10-10 04:38:51 +00:00
Sascha Schumann
ea567a73f1
Add clean target which removes standard targets
1999-10-10 02:02:13 +00:00
Sascha Schumann
f2608c3fdb
build.mk can be used to generate build tools. It is usually
...
faster than buildconf, since it rebuilds only components, if
it is necessary. To use it, run
$ make -f build.mk
1999-10-10 01:23:15 +00:00
Andi Gutmans
ec04c922aa
- Shouldn't be needed
1999-10-09 20:37:08 +00:00
Andi Gutmans
37159e7863
- God damn this sucked. I hopefully fixed the problems with classes although
...
we might need to clean stuff up a bit.
1999-10-09 20:29:36 +00:00
Sascha Schumann
1df149ec1a
Define RTLD_NOW to DL_NOW, if RTLD_NOW is not defined (for OpenBSD).
1999-10-09 18:03:23 +00:00
Thies C. Arntzen
f352444541
added zval_del_ref() function
1999-10-07 12:20:40 +00:00
Andi Gutmans
5fed1466ef
- Reverse my patch
1999-10-07 04:38:03 +00:00
Andi Gutmans
e3d0c91dbb
- Fixed memory leak with this pointer. It was somtimes initialized with refcount
...
of 2 instead of 1.
- Also fixed a place where object.ptr_ptr is set to pointing to a zval* instead
of zval**. I don't think this is ever used so we might be able to remove it
altogether.
1999-10-06 17:45:15 +00:00
Thies C. Arntzen
c6b91f789d
fix for using resources as array indices
1999-10-06 15:09:26 +00:00
Sascha Schumann
b510a6d11f
More portability stuff
1999-10-05 15:13:22 +00:00
Sascha Schumann
2785fbce1e
OSF/1 V4.0 wants -lcxx
1999-10-05 13:50:13 +00:00
Sascha Schumann
1877b0779c
This causes link problems with anything higher than -O0.
1999-10-05 11:17:04 +00:00
Sascha Schumann
590f9c1dee
Add necessary rule.
1999-10-04 15:35:16 +00:00
Sascha Schumann
8ae3f4b027
Use libtool to build.
1999-10-04 15:20:12 +00:00
Thies C. Arntzen
ca1d1f832a
use getParametersEx for all builtin functions
1999-10-04 13:27:12 +00:00
Thies C. Arntzen
6847fefad9
added add_*_resource() and add_*_bool() functions
1999-10-04 11:42:46 +00:00
Andi Gutmans
1c0f136405
- Hooray. This might actually work. (I hope)
1999-10-03 20:06:21 +00:00
Sascha Schumann
a0296da876
Make it executable.
1999-10-03 15:49:27 +00:00
Andi Gutmans
56834ff66a
- Another locking fix.
1999-10-02 18:02:10 +00:00
Andi Gutmans
e40667440d
- Fixed locking problem when fetching string offsets
1999-10-02 16:40:25 +00:00
Zeev Suraski
77ddd3a35b
Fix the leak reported on the PHP 3 list (isset() on string offsets)
1999-10-02 15:56:49 +00:00
Andi Gutmans
86357a9c27
- Move is_ref back to being an unsigned char and not a bit field.
1999-10-01 23:31:39 +00:00
Andi Gutmans
4dd47ffbc1
- Remove locking support completely
1999-10-01 23:26:00 +00:00
Andi Gutmans
03d354dcf9
- For Andrei. Implement references in array() initializations
1999-10-01 10:00:05 +00:00
Zeev Suraski
dbccd75b06
*** empty log message ***
1999-09-29 21:46:37 +00:00
Andi Gutmans
202d7dd216
Fix leak in += with arrays
1999-09-29 17:45:44 +00:00
Andi Gutmans
06d04d15a8
- Fix SEND_VAR problem after fetch'ing a variable and not knowing the fetch type
1999-09-29 17:18:36 +00:00
Thies C. Arntzen
446e5d0fff
added add_property_resource
1999-09-29 15:25:06 +00:00
Andi Gutmans
59d5462a6a
- Stop using the locking mechanism and start using refcount.
...
Now we know when we need to free but we still need to support it
1999-09-28 17:37:14 +00:00
Andi Gutmans
b56fd4602f
- First part of the patch which makes reads use ptr and not ptr_ptr.
1999-09-28 16:03:09 +00:00
Sascha Schumann
7ed68c0f53
Provide alternative istdiostream.
...
This has been tested with Sun WorkShop 4.2 C++ which does not
contain class istdiostream.
1999-09-28 11:54:02 +00:00
Sascha Schumann
b7a1130143
Actually allow to set CXXFLAGS
1999-09-26 20:59:47 +00:00
Sascha Schumann
0ac169b474
Build communication channel and add checks for C++ library
1999-09-26 20:12:05 +00:00
Andi Gutmans
4fff0386ac
- Changed Ts{}.var to Ts{}.var.ptr_ptr.
1999-09-26 05:45:18 +00:00
Sascha Schumann
d8895c02f7
Add _ex API implementation for booleans.
1999-09-24 19:22:25 +00:00
Zeev Suraski
85844ace95
Exify the standardized resource stuff
1999-09-24 14:03:45 +00:00
Andi Gutmans
63c15d292a
- Fix bug #2364 .
...
I haven't checked all of the conversion macros yet but there's a change
there are more such bugs there.
1999-09-23 16:13:31 +00:00
Sascha Schumann
4efa22c84e
Fix vpath build w/ thread-safe enabled on Unix.
1999-09-23 16:07:16 +00:00
Thies C. Arntzen
49c891f2cf
preliminary fix for each until andi & zeev clean up!
1999-09-22 09:57:42 +00:00
Thies C. Arntzen
5f3515652a
if you pass NULL as the resource_type_name to zend_fetch_resource*&friends the functions will not print any warnings if the resource is not found!
1999-09-22 09:46:44 +00:00
Andi Gutmans
228a537bbe
- Fix problem where function parameter fetches were created too late.
1999-09-21 20:00:01 +00:00
Zeev Suraski
a30f028a12
Add get_func_args()
1999-09-21 07:31:24 +00:00
Zeev Suraski
9f1d0dec47
*** empty log message ***
1999-09-21 00:46:22 +00:00
Andi Gutmans
68217ef564
- Move some more Zend internal functions from PHP
1999-09-20 21:28:37 +00:00
Andi Gutmans
5e3bbea0ff
- Next part of locking fix.
...
$var = expr; and $var += expr; first create code for expr and later on
for the fetch_w of $var.
1999-09-20 18:17:32 +00:00
Andi Gutmans
7831d30265
- Newline for Sun's compiler
1999-09-20 17:01:38 +00:00
Andi Gutmans
06a18f169b
- Add some internal functions to Zend
1999-09-20 16:56:09 +00:00
Andi Gutmans
babad2694e
- First step in fixing locking problem. Array fetches are now always done last.
...
Later on we will want to delay the write fetches even longer until after their
resulting expression is parsed. The way it is now, will make it very easy
to delay as long as we need.
1999-09-20 15:44:30 +00:00
Andi Gutmans
82c8a9e745
- Indirect references had all of the fetches by mistakenly backpatched.
...
Actually all of the fetches are supposed to be read, except for the last
one.
1999-09-20 14:45:36 +00:00
Zeev Suraski
7a4a5944f9
Added zend_num_args() and zend_get_arg()
1999-09-20 13:00:35 +00:00
Zeev Suraski
13d840bc3f
Add a file in which we can put Zend builtin functions
1999-09-20 12:24:39 +00:00
Andi Gutmans
1ac04fe9f4
- Try to fix the leak Rasmus reported. It's pretty sucky code so I'm really
...
not sure this fix is OK.I can't remember all of what we did there.
1999-09-18 22:07:12 +00:00
Zeev Suraski
6ddd686141
Safer behavior
1999-09-18 13:07:45 +00:00
Thies C. Arntzen
aa5102490a
make SUNs c89 happy
1999-09-17 13:57:24 +00:00
Thies C. Arntzen
20ee106672
no // in the sources please
1999-09-17 12:16:21 +00:00
Thies C. Arntzen
83bbb90d10
added newline at end of file
1999-09-17 12:14:31 +00:00
Zeev Suraski
567b3cef6b
- Fix bug #2318
1999-09-17 02:06:12 +00:00
Zeev Suraski
52e769d883
Introduce convert_to_*_ex()
1999-09-16 23:15:34 +00:00
Sascha Schumann
119b85b736
this helps compiling on non-ANSI C compliant platforms
1999-09-16 14:06:35 +00:00
Stig S. Bakken
af1e5ad881
Make sure HAVE_LIBDL gets defined.
...
Disable more C++ tests when not configured for thread safety.
1999-09-13 11:29:44 +00:00
Zeev Suraski
5f1793e21c
Make this class instanciatable
1999-09-12 19:27:50 +00:00
Sascha Schumann
c656292b96
check for c++ only, if thread safety is enabled
1999-09-12 14:14:34 +00:00
Zeev Suraski
ca1b3ffbc8
Shut up a warning
1999-09-10 16:16:24 +00:00
Andi Gutmans
22f066e708
- Add foreach() freeing code.
...
- Fix switch() freeing code to only free current function's switch expressions.
- I have a feeling break expr; in a switch where expr > 1 leaks because it
won't free all of the expressions. Fix is probably not trivial.
1999-09-09 14:15:17 +00:00
Andi Gutmans
f0a988a26a
- Fix leak when decrementing strings which actually are longs.
1999-09-09 12:59:09 +00:00
Andi Gutmans
67daaa7aac
- Fix for floating point array offsets. Same behaviour as in PHP 3.0. We
...
casted to (long).
1999-09-08 20:38:08 +00:00
Andi Gutmans
afecff3aa4
- Add -b option to flex++
1999-09-08 17:16:22 +00:00
Stig S. Bakken
928863f85b
define tests first, use after.
1999-09-07 09:02:41 +00:00
Andi Gutmans
4bc3097e6f
- Fix win32 compile
1999-09-06 20:43:35 +00:00
Andi Gutmans
a0bad70bd1
- Make zend compile again in Win32.
1999-09-06 20:33:40 +00:00
Stig S. Bakken
623406cf2b
hand-patched some MSVC files
1999-09-06 16:15:27 +00:00
Stig S. Bakken
009025e00d
* header file cleanup
...
* fixed --enable-thread-safety build for UNIX
I don't have a Win32 environment available, could someone please try
compiling on Win32 to see if I got all the header file stuff right there?
1999-09-06 16:14:08 +00:00
Andi Gutmans
2807ba18e1
- Oops
1999-09-05 19:37:24 +00:00
Andi Gutmans
99947a251e
- Shift around header files.
1999-09-05 19:03:35 +00:00
Zeev Suraski
7d33215124
Fix a stupid bug (from stefan@roehri.ch)
1999-09-04 21:58:51 +00:00
Zeev Suraski
63b272998c
Damn, forgot to commit that
1999-09-03 23:54:41 +00:00
Zeev Suraski
3feb4b3bdd
Add new API for resources
1999-09-03 19:12:07 +00:00
Sascha Schumann
690575e51f
Add global startup/shutdown functions
1999-09-03 17:43:10 +00:00
Zeev Suraski
18d11eea40
Revert the IS_RESOURCE patch. It had some unintended behavior.
1999-09-03 15:22:04 +00:00
Zeev Suraski
69fa5199bc
Let $GLOBALS actually work...
1999-09-03 01:34:52 +00:00
Zeev Suraski
7b083fe5d1
Release resources when converting to other types (fix Thies's reported problem)
1999-09-03 00:11:47 +00:00
Zeev Suraski
a3f77686ef
Use \0NameFilenameLineno as key instead of numeric index for runtime defined functions
1999-09-02 21:06:05 +00:00
Zeev Suraski
3a52ee44f5
*** empty log message ***
1999-08-28 21:51:12 +00:00
Zeev Suraski
81e0131bc9
*** empty log message ***
1999-08-28 21:43:24 +00:00
Zeev Suraski
cda27ae9ac
Beef up debug macros
1999-08-28 10:18:54 +00:00
Zeev Suraski
023cb6474b
Fix a crash bug in case of aborted execution
1999-08-27 21:21:04 +00:00
Zeev Suraski
aa8b27ba1d
Better debug macros
1999-08-27 19:17:19 +00:00
Andi Gutmans
02822cbc33
- Damn. It wasn't a correct fix. This should do it.
...
When the zval ** are equal we don't want to assign_ref, in any other case
I can think of we do want to assign_ref.
1999-08-26 07:33:53 +00:00
Andi Gutmans
2c88f2950c
- Fix leak when global is used in the global scope.
1999-08-26 07:26:15 +00:00
Andi Gutmans
1bfb1f7958
- Fix when redefining classes at run-time.
1999-08-26 06:47:45 +00:00
Sascha Schumann
8b44285b90
make it compile with gcc again
1999-08-25 21:54:00 +00:00
Andi Gutmans
746ce67b66
- Add hash_apply_with_arguments()
1999-08-25 19:02:13 +00:00
Andi Gutmans
c5d640d8af
- More elegant fix for Win32 include_path
1999-08-25 13:46:52 +00:00
Andi Gutmans
c7f7b1c3d6
- Temporary fix to allow Win32 MT safe version to use zend_fopen().
1999-08-25 12:20:50 +00:00
Andi Gutmans
48a8b14a47
- Fixed a specific memory leak linked to locking.
1999-08-23 19:02:28 +00:00
Sascha Schumann
d82728c4d0
This changes makes it work on egcs 1.1.2/Alpha
1999-08-22 19:43:04 +00:00
Sascha Schumann
433880bc6e
remove checks
1999-08-22 18:34:40 +00:00
Zeev Suraski
6313238c63
Fix for Thies's UMR
1999-08-20 17:02:11 +00:00
Andi Gutmans
e5fbf4414a
- Make sure expr_list and echo_list are either empty or comma seperated
...
expressions
1999-08-19 15:15:34 +00:00
Thies C. Arntzen
9e9050a428
on unix ZTS gets defined in zend_config.h
1999-08-18 15:26:39 +00:00
Zeev Suraski
50bfff5502
Fix #2012
1999-08-17 22:31:45 +00:00
Zeev Suraski
96fd258d07
Fix #2070
1999-08-17 21:36:30 +00:00
Andi Gutmans
acd6114fa7
- Add some ZENDAPI's
1999-08-17 19:25:22 +00:00
Andi Gutmans
a08dc937c7
- Oopsie
1999-08-15 19:38:10 +00:00
Andi Gutmans
b5f5e9a6d1
- Optimize the execute stack a bit.
1999-08-15 19:29:39 +00:00
Zeev Suraski
96d4220a5d
Fix several class issues
1999-08-14 12:54:17 +00:00
Zeev Suraski
ef5b7e212d
Generate better warnings for class/function redefinitions
1999-08-14 11:50:36 +00:00
Andi Gutmans
28f9dc6e56
- Got rid of the C++ comments.
1999-08-10 15:43:32 +00:00
Andi Gutmans
11781bdaa8
- Thies's crash fix.
1999-08-09 16:39:13 +00:00
Zeev Suraski
720d32f581
Fix a few leaks
1999-08-07 23:04:01 +00:00
Zeev Suraski
0487650536
Fix a bug in call_user_func_ex()
1999-08-06 21:43:49 +00:00
Zeev Suraski
6393ab1486
Now that's an annoying bug.
1999-08-06 16:54:32 +00:00
Zeev Suraski
f95edc016b
Introduce call_user_func_ex()
1999-08-06 15:24:10 +00:00
Zeev Suraski
4f2dd59e24
*** empty log message ***
1999-08-06 11:12:08 +00:00
Andi Gutmans
bbe27ffae9
- Initialize extended value's and put the fetch_type in it's own variable
...
name.
1999-08-03 18:54:49 +00:00
Andi Gutmans
07e0885519
Make set_compiled_filename() return a pointer to the allocated file name
1999-08-02 18:40:10 +00:00
Zeev Suraski
01c2701a0f
These aren't necessary
1999-07-31 18:48:47 +00:00
Zeev Suraski
620d013499
Support symbols in any symbol table, not just the active one
1999-07-30 14:17:08 +00:00
Andi Gutmans
447eb3b031
- Damn that's more like it.
1999-07-30 12:27:04 +00:00
Andi Gutmans
2c32cc81dd
- Cut&paste crap
1999-07-30 12:23:12 +00:00
Andi Gutmans
e9e7bc6db3
- Add ptr_stack_n_{push,pop} in order to speed up function calls a bit.
...
There seems to be no reason for stack->top in the ptr_stack except for
when realloc()'in the stack. I think I'll remove it.
1999-07-30 11:55:53 +00:00
Zeev Suraski
48ffdd79f7
* Setting variables in the global scope wasn't handling is_ref's properly
1999-07-30 02:49:12 +00:00
Andi Gutmans
739132e58d
- Fixed a leak when doing inheritance. The parent class name wasn't being freed.
...
- Fixed a stack leak. Functions that had late argument binding were set up as
INIT_FCALL_BY_NAME but were using DO_FCALL and not the corresponding
DO_FCALL_BY_NAME.
1999-07-29 12:24:58 +00:00
Andi Gutmans
741ca16711
- Fixed various inheritance problems & Andrey's leak
1999-07-28 17:59:55 +00:00
Zeev Suraski
879bfc7a34
Inherit parent's constructor
1999-07-27 20:34:31 +00:00
Zeev Suraski
c4bc4871ee
Fix runtime inheritence (child functions/members should have higher precedence)
1999-07-27 20:14:58 +00:00
Andi Gutmans
348b2f0730
- Add missing lock
1999-07-27 18:35:22 +00:00
Andi Gutmans
88322d2ea0
- Fix up the new operator a bit more.
1999-07-27 17:30:16 +00:00
Zeev Suraski
9d0d2e5a69
Set reference count and is_ref values for new objects
1999-07-27 00:14:34 +00:00
Zeev Suraski
09628fd51e
- Fixed a memory leak when using assignment-op operators with lvalue of type
...
string (or array/object)
1999-07-26 21:56:45 +00:00
Zeev Suraski
075146773f
*** empty log message ***
1999-07-26 21:31:40 +00:00
Zeev Suraski
41308d4b43
Fix a bug in inheritence from classes defined in include files, that are
...
inherited from require()'d files
1999-07-26 21:18:35 +00:00
Andi Gutmans
7af5579e3f
- Oops I erased this by mistake
1999-07-26 19:35:57 +00:00
Andi Gutmans
7d77a63342
- Should be a complete fix now. This break away code should maybe be made
...
somewhat generic
1999-07-26 19:32:13 +00:00
Andi Gutmans
fe0fbdc5b6
- Temporary fix for "this". Have to fix it tomorrow.
1999-07-26 19:24:54 +00:00
Andi Gutmans
221c80d26d
- Fix compile error. Weird that Visual didn't catch this one.
1999-07-26 18:56:54 +00:00
Andi Gutmans
8f51f72dc6
- Fix the new operator incompatibility.
...
- I commented PHP_FUNCTION(strtotime) in datetime.c because it stopped
win32 from compiling. This needs to be fixed!!!
- Check out libzend to compile the tree now.
1999-07-26 16:57:06 +00:00
Zeev Suraski
0cdb7d6a29
Fix that memory leak... nested function issue remains
1999-07-24 14:38:05 +00:00
Zeev Suraski
9c754da0fc
Fix RETURN & SWITCH memory leak issue
1999-07-24 11:43:21 +00:00
Zeev Suraski
1b6fae101a
Thoroughly fix the SWITCH problem. No RETURN handling yet.
1999-07-24 11:24:19 +00:00
Zeev Suraski
028cf1a368
Fix bug #1812
1999-07-23 18:41:58 +00:00
Zeev Suraski
84aa8cce64
* Add an API macro users can use to ensure an array member can be modifed
...
before they modify it.
* Fix a bug and remove redundant code in convert_to_long() (booleans and
resources weren't changing their types
1999-07-23 16:02:51 +00:00
Zeev Suraski
5bae591f88
New constants
1999-07-22 22:17:49 +00:00
Stig S. Bakken
f5bfd16b0b
identify ourselves
1999-07-22 20:20:11 +00:00
Andi Gutmans
acb9cae36d
- Include alloca.h when need and available.
1999-07-20 18:26:56 +00:00
Andi Gutmans
bf8c6dbd99
- Get rid of C++ comments
1999-07-20 13:01:30 +00:00
Zeev Suraski
8d1de13aef
0.91 update
1999-07-19 20:02:12 +00:00
Andi Gutmans
e78fc33c35
* Fix Zend version
...
* Fix a method call bug
1999-07-19 19:58:44 +00:00
Andi Gutmans
8a9d0fa9eb
License update
1999-07-19 17:52:38 +00:00
Andi Gutmans
353a2d38d8
Make error codes PHP 3.0 compatible
1999-07-19 16:17:40 +00:00
Andi Gutmans
e3daad2d67
- Should fix the memory leak when returning from the main scope.
1999-07-18 17:33:51 +00:00
Zeev Suraski
101e1f4c0f
Debug on by default
1999-07-17 13:24:53 +00:00
Zeev Suraski
d66fad5fcd
Ignore T_PHP_TRACK_VARS in the parser (handled in the scanner)
1999-07-16 16:42:49 +00:00
Zeev Suraski
b5b1117760
License update
1999-07-16 14:58:16 +00:00
Andi Gutmans
91d7ba7610
Change true/false back to 1/""
1999-07-15 20:38:00 +00:00
Andi Gutmans
da648c0fb1
Fix a lock issue
1999-07-15 19:59:18 +00:00
Sascha Schumann
138dd94c8d
disable zend_handle_sigsegv
1999-07-15 12:17:34 +00:00
Andi Gutmans
762158aa65
Fix thread unsafe constants startup
1999-07-14 19:49:19 +00:00
Andi Gutmans
fec59d3b4d
- License update
...
- Fix multithreaded constants startup
1999-07-14 16:00:47 +00:00
Andi Gutmans
078c3ce198
- Fix for boolean convert to number
1999-07-14 09:10:14 +00:00
Andi Gutmans
4dc22e32b6
- Fixed a purify warning
1999-07-12 18:07:01 +00:00
Zeev Suraski
3b037ebbe9
Oh, that dumb bug.
1999-07-10 22:50:44 +00:00
Andi Gutmans
44947bf563
Ok, so we do have to lock in there
1999-07-10 18:46:20 +00:00
Andi Gutmans
fb7a4b6486
Fix assignments of reference variables
1999-07-10 16:56:56 +00:00
Zeev Suraski
dc933fc50b
Woops, fix.
1999-07-10 12:44:56 +00:00
Zeev Suraski
909590ba7b
Put the garbage in the garbage bin
1999-07-10 11:47:16 +00:00
Zeev Suraski
cccd2445ee
Get rid of AiCount completely
1999-07-10 11:45:23 +00:00
Zeev Suraski
82563bde60
Final tweaks
1999-07-10 10:55:55 +00:00
Zeev Suraski
03d33b2f88
More locking work
1999-07-10 09:29:02 +00:00
Zeev Suraski
6fcf8aa12c
*** empty log message ***
1999-07-09 21:00:24 +00:00
Zeev Suraski
0fadd053fa
More stuff
1999-07-09 20:57:29 +00:00
Zeev Suraski
2a6da7814c
Step 4:
...
Move to a 7-bit counter (not fully implemented yet)
1999-07-09 20:43:59 +00:00
Zeev Suraski
6ec1acbe32
Phase 3:
...
Use a single bit to mark IS_REF variables
1999-07-09 18:19:48 +00:00
Zeev Suraski
5f62c347c7
Step 2:
...
Rename is_ref to EA
1999-07-09 17:44:41 +00:00
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
1999-07-09 17:24:47 +00:00
Zeev Suraski
cdce334c56
*** empty log message ***
1999-07-09 11:19:38 +00:00
Zeev Suraski
cc26d0e609
Send a SIGSEGV instead of exiting, to trigger a core dump
1999-07-09 11:10:19 +00:00
Zeev Suraski
6abe9c34d9
* Support recoverable failure from erealloc()
...
* Fix the shutdown code on an unrecoverable erealloc() failure
1999-07-09 11:03:56 +00:00
Zeev Suraski
81f5522210
Fix the mess in SIGSEGV handling, hopefully
1999-07-09 07:35:13 +00:00
Zeev Suraski
d894cf44d8
Support definition of classes that are derived from classes that are defined in runtime
1999-07-08 16:55:27 +00:00
Sascha Schumann
fdc1b9262d
enable it, until we find a better way
1999-07-06 21:02:07 +00:00
Sascha Schumann
52308cd368
make Solaris gcc happy
1999-07-05 17:05:38 +00:00
Sascha Schumann
f6164dbf3a
use void * instead of long for 64-bit test
1999-07-05 10:51:11 +00:00
Thies C. Arntzen
eb5c6da5a4
added RETVAL_RESOURCE and RETURN_RESOURCE
1999-07-05 06:26:29 +00:00
Zeev Suraski
d189972737
Make convert_to_string() regard false as "" instead of "0"
1999-07-04 23:50:58 +00:00
Sascha Schumann
c2b8a4667b
don't wipe files for distributions
1999-07-03 19:37:55 +00:00
Sascha Schumann
d6169276dd
checking for ints won't work, since they are 32 bit on both platforms
1999-07-03 18:46:10 +00:00
Zeev Suraski
baa75917c8
Support isset()/empty() for string offsets
1999-07-03 18:03:02 +00:00
Zeev Suraski
063051d6ac
Fix a crash
1999-07-03 16:05:58 +00:00
Sascha Schumann
7bbd454143
add usual rhapsody hack
1999-07-03 02:45:46 +00:00
Sascha Schumann
e0fff74d41
missing DL_HANDLE broke build
1999-07-03 02:44:11 +00:00
Sascha Schumann
8b51ad8157
typo
1999-07-03 02:34:09 +00:00
Sascha Schumann
2a44f45cbe
workaround for 64-bit platforms
1999-07-02 21:12:03 +00:00
Zeev Suraski
9ece796086
define zend_bool
1999-07-02 14:10:57 +00:00
Zeev Suraski
49d98c5a3f
Make require accept any parameter
1999-06-30 17:17:39 +00:00
Zeev Suraski
98b6ddda90
* Make the memory leak reporting code much better with repeats
...
* Remove useless variables
1999-06-26 11:48:22 +00:00
Zeev Suraski
c471c77c58
Fix Thies's bug report
1999-06-22 20:24:51 +00:00
Zeev Suraski
3eac45ea80
* Fix concatenation of arrays (it was PHP 3.0 style, copying zval's instead
...
of zval *, and it wasn't using reference counting)
* Fix a memory leak in static array()'s with textual indices
1999-06-22 19:05:40 +00:00
Zeev Suraski
d035af4af1
*** empty log message ***
1999-06-19 20:42:15 +00:00
Zeev Suraski
138d601ab1
Add a standard get_ini_entry() to interface between Zend and the outside world
1999-06-19 20:22:56 +00:00
Zeev Suraski
8def18813f
*** empty log message ***
1999-06-19 14:07:48 +00:00
Stig S. Bakken
5d4579a1f4
added INIT_FUNC_ARGS_PASSTHRU and SHUTDOWN_FUNC_ARGS_PASSTHRU
1999-06-16 11:03:57 +00:00
Stig S. Bakken
80f1ce5eed
* added zend_binary_strcasecmp()
1999-06-15 22:32:51 +00:00
Zeev Suraski
c50cd2df99
We can't quite go with expr there (shift/reduce conflict), go with scalar.
1999-06-12 07:43:36 +00:00
Zeev Suraski
4bf413e358
require() improvement as per Andi's suggestion
1999-06-12 06:59:54 +00:00
Zeev Suraski
0d560de1b7
Make the concatenation operator use make_printable as well
1999-06-11 15:37:43 +00:00
Zeev Suraski
9f106c61ec
Don't take failing on an include file so badly
1999-06-11 14:51:44 +00:00
Zeev Suraski
d6595d628c
Support <?=
1999-06-11 13:56:04 +00:00
Zeev Suraski
d47d83511a
E_ERROR -> E_COMPILE_ERROR in the compiler
1999-06-11 13:40:18 +00:00
Zeev Suraski
54d210427a
Two fixes:
...
* The error generated by a failed class inheritence wasn't properly
displaying the file in which he error occured.
* Inheritence didn't work if the parent class had uppercase letters in it.
1999-06-11 13:37:29 +00:00
Zeev Suraski
963a004481
* Use to_string() instead of __print()
...
* Support boolean casts ((bool) and (boolean))
1999-06-11 11:17:43 +00:00
Zeev Suraski
99fd17df63
Change __print into to_string()
1999-06-11 11:02:38 +00:00
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".
1999-06-11 10:44:26 +00:00
Zeev Suraski
c1f75b6fda
Now THAT's an annoying bug.
1999-06-10 23:03:35 +00:00
Zeev Suraski
2fb5e56123
Fix
1999-06-09 21:40:52 +00:00
Zeev Suraski
95c9e3014a
* Fix cases where you assign an array element to the parent array (the array was
...
being erased before the assignment, so the element was being smashed).
1999-06-09 21:39:12 +00:00
Zeev Suraski
b484f40c31
* Fix foreach() that receives a non array argument
...
* Clean up some C++ comments
1999-06-09 21:02:59 +00:00
Andi Gutmans
7ed4923441
- Fix the static array() initializing
1999-06-09 19:26:54 +00:00
Zeev Suraski
230846f6dd
Replace error messages
1999-06-08 19:37:40 +00:00
Andi Gutmans
04b2c1d422
* Fix a by-name call/method call bug
...
* Clean and optimize the whole function call process
1999-06-08 18:33:31 +00:00
Zeev Suraski
fd4650b540
Add zend_hash_get_current_key_type()
1999-06-07 22:49:33 +00:00
Andi Gutmans
5b0ae2dff3
Work around a compiler bug - mark variables that are sent to functions that aren't yet
...
defined as FETCH_W (because they might end up being sent by reference)
1999-06-06 17:35:42 +00:00
Zeev Suraski
ed06a70f7f
* Centralized shutdown
...
* Change shutdown order again
1999-06-05 20:00:00 +00:00
Zeev Suraski
89f139d3b0
Call the request_shutdown on modules before destroying symbol tables, so that
...
the session module can be implemented
1999-06-05 19:10:40 +00:00
Zeev Suraski
8b2fe60467
- Fixed Karl's bug report. It's not really a thorough fix, we really need to rethink the INIT_FCALL/DO_FCALL issue.
...
- Fixed numerous AiCount problems
1999-06-05 18:47:36 +00:00
Zeev Suraski
1b4b5c4a88
New $GLOBALS init
1999-06-04 13:09:24 +00:00
Zeev Suraski
cf757f7c89
Fix that GLOBALS leak. We were explicitly adding GLOBALS to the main symbol table,
...
but there's no reason to do it (INIT_GLOBALS takes care of it if necessary.)
1999-06-04 12:22:19 +00:00
Zeev Suraski
9108abc287
Minor updates (mostly __declspec() stuff)
1999-06-04 11:44:02 +00:00
Thies C. Arntzen
a3a60dd4e7
added is_ref=0 and refcount=1 to SET_VAR_* macros
1999-06-04 09:04:05 +00:00
Zeev Suraski
66a48f2131
T_BAD_CHARACTER is actually a string.
1999-06-03 23:59:33 +00:00
Andi Gutmans
1225d0307b
- We weren't counting newlines in heredocs. The only place which is still questionable
...
is when there's a \ followed by a newline but it seems we have a parse error in this
case anyways.
- Fixed the alloca() macros so that the alloca() #define in win32 mode won't clash
with the real win32 alloca().
1999-06-03 21:06:03 +00:00
Andi Gutmans
c4b7426ec1
- Make execute() use less stack in thread-safe win32 due to Microsoft's shitty 256kb stack.
1999-06-01 18:47:53 +00:00
Zeev Suraski
63f2cc9fe9
*** empty log message ***
1999-05-31 18:39:29 +00:00
Andi Gutmans
52ec64359c
Fixes
1999-05-31 18:33:12 +00:00
Sascha Schumann
88029643d0
* fix some casts
...
* introduce unary_op_type - cleaner than casting data voids to function ptrs
1999-05-30 13:28:56 +00:00
Zeev Suraski
cf4a2c3bfc
That got fucked up when we went back to using uninitialized_zval
1999-05-29 23:37:26 +00:00
Sascha Schumann
b5dd397459
another VPATH related change
1999-05-29 23:20:55 +00:00
Zeev Suraski
f78d4f1a56
Fix a bug
1999-05-29 22:26:28 +00:00
Zeev Suraski
bcc1337d8c
Support overwrite mode in zend_hash_merge()
1999-05-29 18:59:58 +00:00
Sascha Schumann
33507acca5
- clean is not called from automake. use CLEANFILES instead
...
- allow VPATH compilation
1999-05-29 18:13:14 +00:00
Zeev Suraski
b7ee45e13c
Correct fix
1999-05-29 12:00:32 +00:00
Zeev Suraski
7068d4a201
*** empty log message ***
1999-05-29 11:02:37 +00:00
Zeev Suraski
24a21ca2e1
Fix a leak
1999-05-29 11:01:50 +00:00
Zeev Suraski
741b816136
* Support getThis() for internal functions.
...
* Fix 'new object or die' and AiCount issue thoroughly (earlier fix didn't
work with the optimizer).
* Add new macros for standardized definition of classes.
* Only report AiCount problems if shutdown was not silent.
1999-05-28 12:06:59 +00:00
Zeev Suraski
3b5972ed4a
Fix the AiCount issue with objects
1999-05-27 03:11:08 +00:00
Zeev Suraski
1f985ede74
Moved all #define's for SET_ and RETURN_ to zend_API.h
1999-05-27 01:44:17 +00:00
Zeev Suraski
033858e13d
Avoid crashing if an error occurs before we open the first file.
1999-05-25 22:55:13 +00:00
Zeev Suraski
e115fdc6d6
The last fix was wrong
1999-05-24 16:48:01 +00:00
Zeev Suraski
cbcd462d46
Another operators fix
1999-05-24 16:43:47 +00:00
Zeev Suraski
97107dc440
boolean comparison didn't work with smaller-than and greater-than, something that
...
fucked up berber's site a bit. fixed.
1999-05-23 22:07:04 +00:00
Zeev Suraski
ee7032f069
Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR.
1999-05-22 18:02:30 +00:00
Zeev Suraski
84bb91d762
I'm on a roll. Fix a nasty yet stupid AiCount bug
1999-05-22 17:30:09 +00:00
Zeev Suraski
05f6cf54f0
Warn about AiCount not zeroing out
1999-05-22 16:48:23 +00:00
Zeev Suraski
1250c43a39
* Add struct name to all typedef's so that they can be debugged with MSVC
...
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multiple times even though it was increased only
once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only
decrease AiCount on the last FETCH_DIM.
* Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason
MSVC doesn't report these :I
1999-05-22 16:10:51 +00:00
Zeev Suraski
080105f79f
Give more information and save log lines in memory leak reports
1999-05-22 11:20:56 +00:00
Zeev Suraski
87ba08d1d0
Avoid leaking fd's in case of failures
1999-05-22 02:13:01 +00:00
Zeev Suraski
ac94c83867
more fixes
1999-05-22 01:07:50 +00:00
Zeev Suraski
d56ae4f670
That wasn't supposed to slip in
1999-05-21 23:48:24 +00:00
Zeev Suraski
9dc0842e58
* Properly handle failed file opens in C++
...
* Properly handle failed require()'s within libzend
1999-05-21 20:20:32 +00:00
Zeev Suraski
f33c22c055
* Fix the comments issue. yymore() worked like a charm.
...
* Change all flex states to be prefixed with ST_
1999-05-21 17:31:49 +00:00
Zeev Suraski
9cb2cf1393
Optimize allocations into uninitialized_zval assignments
1999-05-20 20:00:59 +00:00
Andi Gutmans
3facf7cb7c
- Updates we did today
1999-05-20 13:04:59 +00:00
Andi Gutmans
d79292d52b
- Fix a small problem with class decelerations.
1999-05-20 09:08:29 +00:00
Andi Gutmans
0bc950bcd5
-Open curly braces fix?
1999-05-20 09:02:03 +00:00
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.
1999-05-15 15:47:24 +00:00
Zeev Suraski
b9fb0b8e4d
If a require() dies, we must bail out (since it corrupts an existing op_array
1999-05-14 20:16:22 +00:00
Zeev Suraski
53f98a66cf
Fix a bug
1999-05-14 19:04:37 +00:00
Stig S. Bakken
695b4f4d5e
don't install Zend on the system
1999-05-14 18:42:06 +00:00
Zeev Suraski
67296f0704
Add \012 and \xff missing support to constant quoted string
1999-05-14 11:29:34 +00:00
Zeev Suraski
0b873a7899
*** empty log message ***
1999-05-12 23:05:17 +00:00
Stig S. Bakken
cefca57c9c
install libzend.a and header files on "make install"
1999-05-12 20:12:15 +00:00
Stig S. Bakken
97ea66a045
add --enable-thread-safety option
1999-05-12 20:11:42 +00:00
Zeev Suraski
853d6c6206
Added prepend to llist
1999-05-12 18:06:14 +00:00
Zeev Suraski
6bc6dacf5c
Fixes:
...
* Avoid closing stdin (I could have sworn I've committed that already)
* unclean_shutdown patches
1999-05-11 21:39:48 +00:00
Zeev Suraski
e22cce0dda
Easier Win32 debug code
1999-05-11 21:38:39 +00:00
Zeev Suraski
473d1d7cf1
* Fix a bug that occured in case of parse errors. We need to restore the lexical state
...
even if the compilation failed.
1999-05-11 17:50:37 +00:00
Zeev Suraski
74a9ed7b3f
Weed out all BoundsChecker-found bugs (including a serious file descriptor leak
...
in the C++ scanner)
1999-05-10 20:46:42 +00:00
Zeev Suraski
14a8e9b6c3
Change argument name
1999-05-09 14:56:38 +00:00
Zeev Suraski
bfbe86187e
Almost forgot to commit those
1999-05-09 12:24:21 +00:00
Zeev Suraski
c5d8c389a5
Ok, I tested it now. It works very nicely!
1999-05-06 19:13:13 +00:00
Andi Gutmans
c8b2bf0a1d
llist improvements
1999-05-05 19:24:46 +00:00
Andi Gutmans
fcaf734f94
- Don't support interactive mode when thread safe.
1999-05-02 19:07:46 +00:00
Zeev Suraski
064f75fd1b
Several operator fixes. Should fix the MySQL problem.
1999-05-01 01:04:13 +00:00
Andi Gutmans
5dd7f27f0b
- Free refcount when destroying the last class reference.
1999-04-30 23:32:03 +00:00
Andi Gutmans
202135bfac
- Missed one place
1999-04-30 21:44:27 +00:00
Andi Gutmans
0e1f8ed58e
- First try at fixing $a->foo[] syntax.
1999-04-30 20:27:36 +00:00
Andi Gutmans
91371c4340
- Move back to yyless(). I haven't tested it yet because it's taking too long
...
to compile and I have to disconnect
1999-04-30 17:35:38 +00:00
Zeev Suraski
9dd66bc2ae
Fix Boris's problem (in my never ending struggle to show I never mean what I say
...
when I say something's not gonna happen :)
1999-04-30 17:29:18 +00:00
Zeev Suraski
bc3686c14a
* Fix a problem with constant quoted strings, that was causing Thies's problem
...
* Remove a development-time printf
1999-04-30 10:46:48 +00:00
Andi Gutmans
95e2e023fb
- No reason to handle newlines here.
1999-04-29 20:58:29 +00:00
Zeev Suraski
d90ea1a136
Make the C++ scanner support interactive input
1999-04-28 23:18:57 +00:00
Zeev Suraski
2493f68018
* Fix debugger+interactive mode bug
...
* Recognize whether an extension is with debug information or not
1999-04-27 11:00:59 +00:00
Zeev Suraski
0f195a79cd
fix
1999-04-26 15:16:06 +00:00
Zeev Suraski
7c4a08381e
Various thread safety fixes and DLL updates
1999-04-26 14:10:42 +00:00
Andi Gutmans
df6134bc42
-More commits
1999-04-26 03:03:39 +00:00
Zeev Suraski
208e81696f
Another small fix
1999-04-24 17:16:39 +00:00
Zeev Suraski
f6971f17a9
dsp update
1999-04-24 16:52:40 +00:00
Zeev Suraski
e06a1ed265
Thread safety fixes
1999-04-24 16:16:11 +00:00
Zeev Suraski
8dd4a63366
Remove redundant includes
1999-04-24 09:26:09 +00:00
Zeev Suraski
cd07879f2d
g++ compile fix
1999-04-24 09:08:03 +00:00
Zeev Suraski
1e9ce9528d
*** empty log message ***
1999-04-24 09:01:30 +00:00
Zeev Suraski
5a5806e02a
Cleanups, remove old ts code
1999-04-24 00:12:55 +00:00
Zeev Suraski
b2c5ef42d3
Arithmetics bug fix
1999-04-23 13:25:33 +00:00
Zeev Suraski
a458b4f6bd
Support eval() and highlight_string() in the C++ scanner
1999-04-23 10:21:00 +00:00
Andi Gutmans
01575b9d9d
- Use yyless() instead of unput() where possible. I'll erase the commented
...
out code in a day or so.
1999-04-23 06:14:06 +00:00
Zeev Suraski
1aa2c5c0b4
Ok, call me crazy, because I probably am.
...
Thread safe version now uses a C++ scanner object. Works fully.
1999-04-23 03:32:33 +00:00
Zeev Suraski
551fe7780b
Make token names uniform, they all begin with T_ now.
1999-04-22 23:08:42 +00:00
Stig S. Bakken
d9144155f5
state which aclocal.m4 and configure files are created
1999-04-21 20:33:33 +00:00
Stig S. Bakken
1ee30e61fc
zend-parser.o and zend-scanner.o were included twice in libzend.a
1999-04-21 20:30:37 +00:00
Zeev Suraski
942f409292
* Change the thread safe project to create a C++ scanner.
...
* Add in a slightly modified skeleton file (only a couple of #if's for #include's
that we dont have in Windows)
It does NOT compile or work yet :)
1999-04-21 20:13:02 +00:00
Zeev Suraski
937270f319
Fix
1999-04-21 19:10:54 +00:00
Zeev Suraski
a9f9ae7920
Thread safety patch. It works now with 'just in time' resource initialization!
1999-04-21 17:26:37 +00:00
Zeev Suraski
52fcaa443b
Thread-safe project
1999-04-21 15:35:57 +00:00
Stig S. Bakken
a9d3d0832a
move automake back to before autoconf
1999-04-21 14:06:58 +00:00
Stig S. Bakken
9003b9a261
autoheader must be called after autoconf, automake after autoheader
1999-04-21 13:45:46 +00:00
Stig S. Bakken
bb74a94fa5
think before one commits
1999-04-21 13:26:27 +00:00
Stig S. Bakken
f68609b50f
doh. cvs appears to ignore .in files by default
1999-04-21 13:24:39 +00:00
Zeev Suraski
7a87fcbbda
Thread safety patch. We're still not quite there but it compiles again, and
...
more logic has been implemented.
1999-04-21 03:49:09 +00:00
Stig S. Bakken
9e4c7bd56c
Makefile.in and aclocal.m4 are generated
...
added buildconf script
1999-04-20 01:12:53 +00:00
Zeev Suraski
b7c30c1bdf
Return a success value from the startup function, so we can unload immediately
...
if it fails.
1999-04-19 21:39:18 +00:00
Stig S. Bakken
b227e385cc
convert to automake
1999-04-19 20:10:26 +00:00
Andi Gutmans
9deab4118d
Add a couple of ZEND_API's
1999-04-19 18:57:14 +00:00
Andi Gutmans
dd03a7a2f3
Support =unset as arguments
1999-04-19 16:28:05 +00:00
Stig S. Bakken
b515f34dd1
removed -lnsl and -lsocket checks from zend
1999-04-19 13:51:13 +00:00
Zeev Suraski
1ae9891e7e
AiCount needs to be decreased here
1999-04-18 19:55:42 +00:00
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)
1999-04-18 15:11:52 +00:00
Andi Gutmans
b32b2831d8
- one more place which seems to have needed fixing. I don't have time to look
...
more into it. I hope we don't have anymore places which need fixing.
1999-04-15 17:43:16 +00:00
Andi Gutmans
3d631c4ca0
- Should fix the pass by reference problem. This happened because we moved
...
start from arg 1 now and not arg 0. There might be more places which need fixing
like in the executor but the bug seems OK now.
1999-04-15 17:41:21 +00:00
Zeev Suraski
fa76f0c903
Compile fix
1999-04-14 21:03:25 +00:00
Andi Gutmans
39f9487ee1
-Tiny patches
1999-04-14 19:53:33 +00:00
Zeev Suraski
76ceb9ad44
Better detection
1999-04-13 22:09:59 +00:00
Zeev Suraski
7c2155c1ad
Move Ai stuff before get_zval_*(), like Andi suggested. Fixes Sascha's huge
...
memory leak
1999-04-13 20:50:31 +00:00
Andi Gutmans
e1e2226b92
- Fix various memory leaks.
1999-04-13 19:28:03 +00:00
Andi Gutmans
d86ed8207c
Refcount bugfix
1999-04-13 17:49:14 +00:00
Andi Gutmans
3fcc6511f6
* Optimize argument_stack top lookup
...
* Fix a nasty bug in zend_ptr_stack_clean()
1999-04-13 17:03:10 +00:00
Zeev Suraski
533f135987
Remove unnecessary stack
1999-04-12 21:50:49 +00:00
Zeev Suraski
ad9b13eb9e
off by one
1999-04-12 21:06:29 +00:00
Zeev Suraski
1dff49ec83
Minor optimization
1999-04-12 20:49:02 +00:00
Zeev Suraski
3ca6d6113a
Make functions that don't take arguments somewhat happier:)
1999-04-12 19:44:47 +00:00
Zeev Suraski
714f450a00
This should take care of "this" for user-defined functions. It wasn't yet working
...
for built-in functions anyway, this one is coming soon.
1999-04-12 19:40:48 +00:00
Zeev Suraski
15be5f0b4a
Destroy the resource list after destroying the symbol table, otherwise the
...
auto-destructor for resources are run when the resource list is no longer valid
1999-04-12 18:40:18 +00:00
Zeev Suraski
39a7f4c306
This patch is a go. Not fully optimized yet, but working properly.
...
Prepatch tagged as BEFORE_STACK_PATCH.
1999-04-12 18:29:09 +00:00
Zeev Suraski
b06c5731fc
Minor fixes:
...
missing zval_copy_ctor()
messed up AiCount fix
1999-04-12 17:59:36 +00:00
Zeev Suraski
4472d05025
Allow runtime setting of the memory limit
1999-04-10 16:24:28 +00:00
Zeev Suraski
2e9886de3c
Get rid of php3_ini in Zend
1999-04-10 14:44:35 +00:00
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
1999-04-10 11:21:55 +00:00
Andi Gutmans
906dc43ed7
- Changed here-docs to <<< followed by whitespace.
1999-04-09 20:47:29 +00:00
Andi Gutmans
5cb576d81a
- I guess print $GLOBALS and print "$GLOBALS" should yield the same result
...
so I returned the one in encaps_var.
- Made INITAL_OP_ARRAY_SIZE smaller (64? can't remeber). I don't think the
erealloc()'s during compile time are such a biggy, we might make it even
smaller. We can have a configure time option as to it's size.
1999-04-09 15:18:29 +00:00
Andi Gutmans
2d7b9b038d
- Support $GLOBALS in cvar's. Now list(..) = each($GLOBALS) will work.
...
- Remove support of $GLOBALS in enacapsed strings. print "$GLOBALS" isn't
supposed to work in any case.
1999-04-09 15:01:13 +00:00
Zeev Suraski
43c0e94ac9
Honor a semicolon on the same line as an ending token of a heredoc
1999-04-09 11:19:03 +00:00
Zeev Suraski
0a6e9ddd7f
Prevent class redeclarations
1999-04-09 10:59:58 +00:00
Zeev Suraski
9d8e0db38f
* Add arguments to shutdown functions
...
* Remove traces of php_ini stuff
1999-04-08 21:14:50 +00:00
Zeev Suraski
f2d5ca7482
"Our favourite mistake"
1999-04-08 20:27:08 +00:00
Zeev Suraski
17bdb70823
$GLOBALS support
1999-04-08 20:21:36 +00:00
Andi Gutmans
893160fcbe
foreach() syntax has changed
1999-04-08 04:11:23 +00:00
Zeev Suraski
135da4b4fc
Fix static assignment
1999-04-08 00:18:29 +00:00
Zeev Suraski
d1d96d04c6
Remove an unused variable
1999-04-07 23:09:09 +00:00
Zeev Suraski
694d94983b
That's better.
1999-04-07 21:14:10 +00:00
Zeev Suraski
d94f3e22ae
We didn't save the .dsp back then...
1999-04-07 21:00:45 +00:00
Zeev Suraski
d9c4871592
Cleanups: ZendCore->libzend
1999-04-07 20:30:03 +00:00
Rasmus Lerdorf
a6043d3e1e
*** empty log message ***
1999-04-07 18:18:16 +00:00
Andi Gutmans
573b46022c
Zend Library
1999-04-07 18:10:10 +00:00