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
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
Zeev Suraski
ddc36fb776
Make convert_to_string() allocations traceable
2000-04-28 13:31:51 +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
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
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
e663d856b3
Fix object overloading support
2000-04-10 20:21:13 +00:00
Torben Wilson
521c8af6a4
Added !== (is not identical) operator.
2000-03-29 22:05:19 +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
88c98d3e3f
- Seems to be a problem here with the return value not being set
2000-03-10 21:22:48 +00:00
Zeev Suraski
5e55e47f7f
It's official now...
2000-03-06 05:26:39 +00:00
Thies C. Arntzen
4e5acab610
now
2000-03-01 13:59:51 +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
0ac9536d99
(c) patch
2000-02-19 22:46:42 +00:00
Zeev Suraski
f77e6a4499
Generalize macros
2000-02-19 13:11:39 +00:00
Zeev Suraski
0b1c8b455a
Make (array) false == array() and not array(false)
2000-02-13 00:52:33 +00:00
Zeev Suraski
ebddd16c75
Fix declaration
2000-02-08 22:18:21 +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
fafbf6d8da
- Implement declare() with declarables framework
...
- Implement ticks - Germany&Norway - 5 points!
2000-01-24 19:00:30 +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
Andi Gutmans
bdefd5da15
- Change IS_UNSET -> IS_NULL
2000-01-04 13:22:58 +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
Andi Gutmans
da8ad4f20f
- Fix compare_function() for IS_UNSET
2000-01-03 05:28: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
f2d703e916
- Nuke undefined_variable_string
...
- Introduce IS_UNSET
1999-12-31 13:56:59 +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
Zeev Suraski
aec33aa753
Introduce a zval-specific cache - 5-15% speed improvement
1999-12-26 21:56:59 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +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
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Thies C. Arntzen
816627b16c
fixed is_identicat_function()
1999-10-19 15:48:25 +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
c279668168
unstatic'fy is_numeric_string()
1999-10-15 20:42:26 +00:00
Andi Gutmans
202d7dd216
Fix leak in += with arrays
1999-09-29 17:45:44 +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
Andi Gutmans
f0a988a26a
- Fix leak when decrementing strings which actually are longs.
1999-09-09 12:59:09 +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
7b083fe5d1
Release resources when converting to other types (fix Thies's reported problem)
1999-09-03 00:11:47 +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
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
Andi Gutmans
bf8c6dbd99
- Get rid of C++ comments
1999-07-20 13:01:30 +00:00