Zeev Suraski
26dd8492ed
Add support for interfaces
2003-03-05 11:14:44 +00:00
foobar
333406bdc2
- Added some missing CVS $Id$ tags, headers and footers.
2003-02-01 01:49:15 +00:00
Ilia Alshanetsky
7a3c54fc36
Fixed compiler warning regarding signed/unsigned int comparisons.
2003-01-30 23:36:08 +00:00
Andi Gutmans
c073b76aac
- Change "is" to "instanceof" as it explains better what the operator means.
...
- "is_a" was also appropriate but ugly.
2003-01-14 21:29:23 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Andi Gutmans
671fff2fde
h WHitespace
2002-11-30 11:20:25 +00:00
Ilia Alshanetsky
a8f8d9d586
Silence compile warning, ctype.h is needed for tolower() function.
2002-11-04 17:05:11 +00:00
Ilia Alshanetsky
e842ef9f4b
MFZE1 (floats & locale issue)
2002-10-12 21:15:35 +00:00
Ilia Alshanetsky
d3617c51b8
MFZE1 zend_str_tolower issue.
2002-10-09 14:21:40 +00:00
Ilia Alshanetsky
ee7b8f906d
MFZE1
2002-09-26 18:56:11 +00:00
Andi Gutmans
43139dc755
- WS - Always use "if (" and not "if("
2002-09-15 07:45:26 +00:00
Stanislav Malyshev
73cf316a53
MFZE1
2002-09-01 08:30:39 +00:00
Zeev Suraski
91f585744f
MFZE1
2002-08-19 20:58:22 +00:00
Andi Gutmans
52406cb37c
- Make new 'is' operator work with classes only and return false when
...
- the object isn't of the said class or the value isn't an object.
2002-08-08 16:32:34 +00:00
Harald Radi
99c90db11a
make win32 debug output more verbose
2002-08-07 14:47:42 +00:00
Andrei Zmievski
82c72f2799
@- Adding 'is' operator that can be used to check the type of a variable,
...
@ or its class. (Andrei)
2002-07-30 04:07:15 +00:00
Derick Rethans
c652c4b512
- MFH of the crap removal
2002-07-15 18:11:04 +00:00
Andi Gutmans
f7d9b9f1ae
- Really implement bool increment/decrement as flip-flop.
2002-07-15 04:11:13 +00:00
Derick Rethans
207845410b
MFZE1
2002-07-14 11:48:45 +00:00
Derick Rethans
dcd67e0b14
- MFZE1
2002-07-14 09:37:42 +00:00
Derick Rethans
643f21e840
- MFZE1
2002-07-14 09:29:42 +00:00
Andi Gutmans
6339bd5912
- Fix bug 15037
...
- Bump version to alpha2-dev
2002-06-29 07:35:41 +00:00
Andi Gutmans
1f6cadcd28
- WS fix
2002-06-28 15:30:03 +00:00
Harald Radi
51e797f1e3
some type cleanup work
2002-04-23 18:06:54 +00:00
Andi Gutmans
fb6976e46d
- Another couple of indirection fixes.
...
- Make class_entry->refcount be part of the structure and not allocated.
2002-03-12 19:22:29 +00:00
Stanislav Malyshev
6608f07322
Mega-commit: Enter the new object model
...
Note: only standard Zend objects are working now. This is definitely going to
break custom objects like COM, Java, etc. - this will be fixed later.
Also, this may break other things that access objects' internals directly.
2002-02-07 14:08:43 +00:00
Sebastian Bergmann
62dc854bb0
Happy New Year.
2002-01-06 15:21:36 +00:00
Sebastian Bergmann
d863d52a5d
Update headers.
2001-12-11 15:16:21 +00:00
Stanislav Malyshev
d082fb373d
MFZE1
2001-09-05 09:29:28 +00:00
Andi Gutmans
b0970f1421
- MFZE1
2001-08-26 15:16:06 +00:00
Andi Gutmans
ea48c0c46a
- Fix a bug in method calls.
...
- Try to get the old copying behavior of objects to work (doesn't work yet).
2001-08-16 14:04:04 +00:00
Zeev Suraski
8722b31d8a
MFZE1
2001-08-13 00:28:18 +00:00
Andi Gutmans
76a7a5bc18
- More work on making objects work
2001-08-11 18:26:47 +00:00
Andi Gutmans
532677e7ac
- Fix some places which create objects. The fixes are ugly and will be
...
revised when things start working well
2001-08-11 18:04:07 +00:00
Zeev Suraski
adf89828d2
Whitespace
2001-08-11 15:44:24 +00:00
Zeev Suraski
8ce8324e59
More TSRMLS_FETCH annihilation
2001-07-30 04:54:16 +00:00
Andi Gutmans
cf510cb7fd
- Fix build
2001-07-28 20:28:29 +00:00
Andi Gutmans
ff61394786
- More object macros.
2001-07-28 20:27:32 +00:00
Zeev Suraski
2c254ba762
Get rid of ELS_*(), and use TSRMLS_*() instead.
...
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:10:39 +00:00
Stanislav Malyshev
db97aea8d9
fix double->long conversion
2001-07-18 16:46:51 +00:00
Zeev Suraski
4cc86259dd
Get rid of ZVAL_RESET...
2001-07-11 11:35:11 +00:00
Zeev Suraski
ed542331b7
Get rid of some inlines
2001-07-11 09:33:41 +00:00
Andi Gutmans
af089a2938
- Remove bogus comment.
2001-06-29 20:42:02 +00:00
Zeev Suraski
5e99993058
Fixed autoconversion of negative values to double (Fix bug #11685 )
2001-06-26 21:11:35 +00:00
Zeev Suraski
429667883e
Treat numeric strings as numbers in the increment operator
2001-05-10 12:58:31 +00:00
Andi Gutmans
27fd3a2e57
- Previous patch for too early freeing of resources seemed to have worked.
...
- Clean it up a bit.
2001-04-29 09:21:38 +00:00
Andi Gutmans
b11202d66b
- Try and solve the too early resource destruction problem.
2001-04-29 06:33:50 +00:00
Zeev Suraski
4e71bbed0a
include limits.h if available
2001-04-28 20:21:42 +00:00
Andi Gutmans
26c06df321
- Move all cases into switch().
2001-04-28 18:20:46 +00:00
Zeev Suraski
882751dd7d
Resources weren't being properly destroyed by the convert_to_*() functions
2001-04-28 02:06:35 +00:00
Andi Gutmans
acd56b0891
- More whitespace fixes while I'm at it.
2001-04-27 18:53:25 +00:00
Andi Gutmans
d2c9e8074c
- Update copyright year
2001-02-26 05:43:27 +00:00
Andi Gutmans
4afacc0a7c
- Remove two unused functions
2001-02-12 15:49:24 +00:00
Stanislav Malyshev
138ea941fa
Add notice when auto-converting array to string
2000-12-18 08:47:17 +00:00
Stanislav Malyshev
98f2db94ec
Fix #8279 (-2147483647 > 2147483647).
...
# Long addition/subtraction may not fit long.
2000-12-17 16:02:59 +00:00
Stanislav Malyshev
868c8769f8
Fix #8195 : strncasecmp returns incorrect value
2000-12-12 09:47:30 +00:00
Zeev Suraski
f8dabac6d5
Fix build
2000-11-21 22:41:49 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Andi Gutmans
bc37c9b1cd
- Make increment of "" become "1"
2000-10-13 16:24:00 +00:00
Andi Gutmans
715774bed7
- Commiting Sterling's new multi_convert* functions
2000-09-05 17:55:57 +00:00
Stanislav Malyshev
1373a16280
Add strncasecmp function
...
@ Added strncasecmp function (Andi)
2000-07-26 11:32:15 +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
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
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
Sascha Schumann
039551788b
Add a couple of casts
2000-06-08 06:07:38 +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
dae76aa1b5
Support comparisons of arrays (with arrays) and objects (with objects)
2000-06-03 10:34:19 +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
Andi Gutmans
015884dda5
- Use pointer arithmetic to speed up the function a bit
2000-05-28 18:59:40 +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
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
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