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