Zeev Suraski
96bfbc7904
First attempt at moving the old RFC1867 support to the right place
1999-06-12 17:50:39 +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
Sascha Schumann
be14ccadf1
it's obj.properties, not ht
1999-06-11 19:29:10 +00:00
Andrey Hristov
8c43c5f708
Fix up var.c a bit.
1999-06-11 15:54:06 +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
Rasmus Lerdorf
f8bac0f8ad
Same Fix here
1999-06-11 12:48:22 +00:00
Stig Bakken
6b16188db0
append DEBUG_CFLAGS to CFLAGS
1999-06-11 12:22:53 +00:00
Zeev Suraski
4b062fdfec
Print out include_path in include/require failures
1999-06-11 11:59:35 +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
1798a0183a
* Fix a buglet in the session module
...
* Make some renames in the session module - avoid having a function called 'delete'
so that we don't piss any C++ compilers. Also rename the {startup,shutdown}_globals
to {startup,shutdown}_session_globals, so that they're a bit less general names,
and made them static.
* Remove uselss variables
1999-06-11 09:23:00 +00:00
Zeev Suraski
c1f75b6fda
Now THAT's an annoying bug.
1999-06-10 23:03:35 +00:00
Sascha Schumann
83de88e90c
make serialize work
...
unserialize does not work yet
1999-06-10 15:34:20 +00:00
Andrey Hristov
2bb01b6f81
Fixing serialize a bit.
1999-06-10 15:13:26 +00:00
Andrey Hristov
3b1843bc9f
Added preg_grep() function.
1999-06-10 14:41:38 +00:00
Frank M. Kromann
f6ad4b09c1
Sync. with php3. Only add Date: and From: if not supplied by user
1999-06-10 09:10:07 +00:00
Andrey Hristov
f7072fbf87
Make array_shift/array_pop work better.
1999-06-09 22:03:15 +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
Andrey Hristov
b331ead5bf
A fix for a fix.
1999-06-09 21:21:27 +00:00
Andrey Hristov
3d45dd58b8
Fixed a bug in preg_split.
...
Fixed a bug in array_shift/array_pop.
1999-06-09 21:13:05 +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
Thies C. Arntzen
a3464b7c11
oci8 to 3.0.9
...
implode works!
1999-06-09 19:47:06 +00:00
Andi Gutmans
7ed4923441
- Fix the static array() initializing
1999-06-09 19:26:54 +00:00
Andrey Hristov
835b0d8823
*** empty log message ***
1999-06-09 15:39:56 +00:00
Andrey Hristov
2a64925a67
Fixed a bug in preg_replace.
1999-06-09 15:02:57 +00:00
Thies C. Arntzen
e5da9fc10a
up to 3.0.9
1999-06-09 10:40:08 +00:00
Danny Heijl
f3d179ff99
resync informix driver with php 3.09 version
1999-06-09 07:44:52 +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
Sascha Schumann
4b023c157a
better scaling for large servers using many session ids
1999-06-07 19:51:54 +00:00
Andrey Hristov
bc1e4a5a10
Don't set is_ref in _phpi_splice()
...
More checking in array_merge()
Added keys() and values() array functions.
1999-06-07 18:52:20 +00:00
Sascha Schumann
d8a9548cb2
- some cleanups
...
- add gc logic
- add session_destroy()
1999-06-07 16:43:24 +00:00
Zeev Suraski
b886985d63
Fix an ereg_replace() crash bug
1999-06-07 15:01:25 +00:00
Zeev Suraski
34b3dc9b47
- Fix PSLS issues
...
- Add a standard info function for the session module (use them!)
- Replace PATH_MAX with MAXPATHLEN (that's our platform indepedent constant)
1999-06-06 19:53:59 +00:00
Sascha Schumann
82806ea254
one C too much
1999-06-06 19:26:31 +00:00
Sascha Schumann
e9b28fe29c
avoid unnecessary PSLS_FETCH() in internal functions
1999-06-06 19:25:39 +00:00
Andi Gutmans
f5dbfbae84
-Init tsrm on minit
1999-06-06 18:56:11 +00:00
Andi Gutmans
ed97964fbe
- Use PS() everywhere.
1999-06-06 18:39:48 +00:00
Andi Gutmans
c329da5d25
- Make sessions compile on win32 but it still doesn't link.
1999-06-06 18:36:42 +00:00
Andi Gutmans
c5fd7244dd
- Add some *_FETCH()'s. Still some work to be done so that it'll compile on win32.
1999-06-06 18:22:17 +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
Sascha Schumann
605756de7f
- s/encoded/encode/
...
- new TODO entry
1999-06-06 15:18:51 +00:00