Stanislav Malyshev
b6ff804cfe
fix leaks: bug #24831
2003-08-04 10:40:05 +00:00
Tomas V.V.Cox
4fbae9a7d7
Another $fp test fix (thanks Jan)
2003-08-04 10:38:18 +00:00
Tomas V.V.Cox
ba2a7d4250
<license> is valid inside <changelog>, support it
2003-08-04 10:32:11 +00:00
Stanislav Malyshev
a3dc90d8d0
use get_obj_zval_ptr
2003-08-04 10:30:42 +00:00
Tomas V.V.Cox
4d57ab6d99
- Typo in cache file creation
...
- Do not create the cache dir in getCache()
2003-08-04 10:15:34 +00:00
Stanislav Malyshev
3586a6a43b
add test
2003-08-04 09:31:58 +00:00
Stanislav Malyshev
4d51526350
Fix #24884 - clone $this
2003-08-04 09:10:52 +00:00
Zeev Suraski
fd8c67e644
Fix library linkage
2003-08-04 08:55:44 +00:00
Zeev Suraski
76e26c8e99
Add missing library path
2003-08-04 08:54:40 +00:00
Zeev Suraski
b894f06f49
Add a test
2003-08-04 08:42:36 +00:00
Zeev Suraski
2547b6f6f6
Fix bug #24652 - Sterling, do you begin to think that maybe it wasn't such
...
a good idea?
2003-08-04 08:38:24 +00:00
Zeev Suraski
1959133fb3
Simplify code using XOR
2003-08-04 07:53:09 +00:00
Zeev Suraski
fe9b5870af
Add logical XOR, proves to be quite useful lately
2003-08-04 07:52:36 +00:00
Zeev Suraski
6f53e48bb9
This check shouldn't be necessary
2003-08-04 07:52:09 +00:00
f1d8c1c448
ChangeLog update
2003-08-04 00:30:32 +00:00
Marcus Boerger
3b4f9d7b58
Latest zend updates
2003-08-03 22:29:20 +00:00
Marcus Boerger
1f8fd69e78
Fix crash
2003-08-03 22:28:14 +00:00
Marcus Boerger
538aad24e3
Fix test and add missing initialization
2003-08-03 22:03:52 +00:00
Zeev Suraski
ef5a79bfed
Ensure functions have a valid access level
2003-08-03 21:06:23 +00:00
Zeev Suraski
e3f4147931
Default to public
2003-08-03 21:04:39 +00:00
Marcus Boerger
8c614ddda4
Not needed, will be copied from ptr->flags later
2003-08-03 20:49:27 +00:00
Tomas V.V.Cox
e58a4ede81
let's go with b3x
2003-08-03 19:43:45 +00:00
Tomas V.V.Cox
029a94ffba
+* Made package dependency checking back to work
...
+* Added support for spaces in path names (Greg)
2003-08-03 19:36:14 +00:00
Tomas V.V.Cox
7d67054891
Added support for spaces in path names (thanks Greg!)
2003-08-03 19:32:07 +00:00
Uwe Schindler
ea12731b4e
TSRM issue in windows compiling
2003-08-03 19:31:56 +00:00
Marcus Boerger
bdf84d4e12
Add missing arg info
2003-08-03 19:25:03 +00:00
Tomas V.V.Cox
6d6af07be9
Don't let the shell escape quotes
2003-08-03 19:21:34 +00:00
Moriyoshi Koizumi
fb6300dd6c
Style & WS fixes
2003-08-03 19:20:45 +00:00
Marcus Boerger
55f947aa13
Fix build
2003-08-03 18:55:51 +00:00
Marcus Boerger
0626fff0c1
Fix warning
2003-08-03 18:52:09 +00:00
Marcus Boerger
21503e723e
Reallow build
2003-08-03 18:46:34 +00:00
Zeev Suraski
538d58dd5f
Use new infrastructure.
...
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Zeev Suraski
4e796a7080
Remove unnecessary macro
2003-08-03 17:42:01 +00:00
Zeev Suraski
f8bbafd604
ntroduce infrastructure for supplying information about arguments,
...
including:
- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance
Both user and builtin functions share the same data structures.
To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:
ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();
and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.
The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.
The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
2003-08-03 17:40:44 +00:00
Moriyoshi Koizumi
f05452fbcd
Disable the test temporarily because "-d" flags in the command line doesn't
...
take effect under CGI mode. (See the relevant portion of cgi_main.c
that begins at line 996)
2003-08-03 13:58:20 +00:00
Tomas V.V.Cox
7c58f22aaf
Made package dep checking to work again
...
(Seems that this line got lost at some point)
2003-08-03 13:44:36 +00:00
Uwe Schindler
52da23faf4
Fix Win32 Build because of missint TSRM stuff
2003-08-03 11:22:53 +00:00
Zeev Suraski
7112d3a3f8
No need for this initialization - this function initializes all of the
...
elements of zend_internal_function
2003-08-03 10:32:40 +00:00
Zeev Suraski
8b4bd4a8ec
Clean up. extended_value can only contain either ZEND_UNSET_DIM or
...
ZEND_UNSET_OBJ.
2003-08-03 08:23:25 +00:00
Zeev Suraski
9d7122fb53
Generalize fetch_class
2003-08-03 08:21:08 +00:00
973b85672b
ChangeLog update
2003-08-03 00:30:27 +00:00
Marcus Boerger
4f1e331c4d
Initialize all struct members: Necessary for reflection
2003-08-02 19:03:14 +00:00
Ilia Alshanetsky
d2bf1c1338
Fixed bug #24177 (Status not set correctly after flush() in Apache 2)
2003-08-02 18:29:30 +00:00
Tomas V.V.Cox
ede834c8b1
fix invalid $fp check (by nicox@php.net)
2003-08-02 15:34:19 +00:00
Tomas V.V.Cox
ad9875b877
upgrade-all back to work
2003-08-02 14:59:44 +00:00
Tomas V.V.Cox
6aa44378f3
trailing ws
2003-08-02 14:57:59 +00:00
Marcus Boerger
04c90c8738
Show interfaces
2003-08-02 14:22:18 +00:00
Marcus Boerger
54df2e14b4
Use correct macro
2003-08-02 13:49:12 +00:00
Wez Furlong
0b6f7bddf4
fix usage of instanceof here too
2003-08-02 11:43:55 +00:00
Marcus Boerger
4fa6eac1f8
Fix warning
2003-08-02 11:39:15 +00:00