Andi Gutmans
5097f64256
- Fix leak in require_once()
2000-04-15 17:02:42 +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
Andi Gutmans
73c6fbff7e
-
2000-04-10 21:12:33 +00:00
Torben Wilson
521c8af6a4
Added !== (is not identical) operator.
2000-03-29 22:05:19 +00:00
Zeev Suraski
15dd8e61a2
- Fix newly introduced problem reported by Sam Ruby
2000-03-15 17:32:29 +00:00
Zeev Suraski
ea033715a9
- Fix filename/lineno initialization for do_return
2000-03-13 14:15:23 +00:00
Andi Gutmans
b5de395367
- Support require_once().
2000-03-10 16:04:16 +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
31c9ad1831
- Fix memory leak
2000-03-06 17:13:38 +00:00
Zeev Suraski
5e55e47f7f
It's official now...
2000-03-06 05:26:39 +00:00
Zeev Suraski
99d782cf60
The default return value from include() and eval() changed from 1 to 0
...
unintentionally after the old return-reference patches - fixed
2000-03-04 03:12:17 +00:00
Zeev Suraski
0ac9536d99
(c) patch
2000-02-19 22:46:42 +00:00
Zeev Suraski
c54864e3af
*** empty log message ***
2000-02-18 21:15:48 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andi Gutmans
bc5c9d8d7b
- Finally beautify those WIN32|WINNT checks
2000-02-10 17:03:53 +00:00
Zeev Suraski
0c470af314
Syntax highlighting was erronously emitting more than one semicolon and/or garbage with heredocs
2000-02-07 18:39:14 +00:00
Zeev Suraski
ef5d72cc37
That was the broken downcasting that prevented the interactive C++ mode from working properly under UNIX
2000-02-05 01:26:15 +00:00
Zeev Suraski
b6197bcf90
Maintain a state of whether we're compiling and/or executing
2000-02-04 14:45:58 +00:00
Zeev Suraski
ad115d2088
Fix require()
2000-01-29 17:19:47 +00:00
Zeev Suraski
fafbf6d8da
- Implement declare() with declarables framework
...
- Implement ticks - Germany&Norway - 5 points!
2000-01-24 19:00:30 +00:00
Zeev Suraski
f2d703e916
- Nuke undefined_variable_string
...
- Introduce IS_UNSET
1999-12-31 13:56:59 +00:00
Zeev Suraski
57fbbf2036
Shut gcc up
1999-12-24 20:19:37 +00:00
Zeev Suraski
67b4b3a634
- require() of a dynamic expression now has the standard require() semantics
...
- Fixed a memory leak in require() of a dynamic expression
1999-12-23 15:03:25 +00:00
Zeev Suraski
f0888ccaef
Fix the highlighting problem. STR_REALLOC() should be used instead of plain erealloc()
...
whenever you're dealing with strings that might be coming back from the engine - there seem
to be a few other places like this in PHP.
1999-12-21 20:30:04 +00:00
Andi Gutmans
e36be38140
- opened_path should not be freed here as the zend_file_dtor() takes care
...
of it. This doesn't fix the bug report for the crash of highlight_file()
though.
1999-12-07 16:00:39 +00:00
Zeev Suraski
ef596bbafb
Move the #include of zend-parser.h out of zend_compile.h
1999-12-06 20:42:44 +00:00
Zeev Suraski
624117e5e4
*** empty log message ***
1999-12-05 23:32:21 +00:00
Zeev Suraski
efc84af940
- Implement get_used_files() and get_imported_files()
1999-12-04 14:26:26 +00:00
Zeev Suraski
9baad80459
- Break the zend->PHP dependency introduced by the .php extension for use(),
...
by providing an API
- Enable Stig's patch for use() extensions (it wasn't refered to by the parser)
- Fix a memory leak in that code
1999-12-04 13:26:57 +00:00
Sam Ruby
6fb3b8c66f
build error - windows
1999-12-04 13:13:45 +00:00
Stig S. Bakken
aaadc71d5d
Fix typo, add prototype for use_filename().
1999-12-04 11:45:14 +00:00
Stig S. Bakken
3570e8891d
"use" should use arg+".php" as parameter to require
1999-12-04 11:43:07 +00:00
Zeev Suraski
cad92c80cc
This should fix the fd leak with include()/require()
1999-12-04 10:59:30 +00:00
Thies C. Arntzen
0d7e971355
revert my last patch - WARNING: we leak fd's again.
...
add initialzation of opened_path highlight_file()
1999-12-03 14:07:00 +00:00
Thies C. Arntzen
b92d70aabe
php_fopen_wrapper_for_zend() does *NOT* insert the opened files into any list - the caller needs to fclose() the file. (not sure if this is desired)
...
fixed "Uninitialized memory read" when including URLs
1999-12-02 14:37:16 +00:00
Andi Gutmans
5463dd5b38
- Add use support (behaves like require, but will not use the same file twice)
...
- Add import support (behaves like include, but requires parentheses; will not
use the same file twice; Currently, it is not yet properly implemented, and
only behaves like include)
1999-11-30 20:15:04 +00:00
Zeev Suraski
74f6202aa6
- Fix fd leak in ZTS mode
1999-11-26 23:54:05 +00:00
Zeev Suraski
6be3723f3d
UNIX/non ZTS compile fixes
1999-11-26 23:48:04 +00:00
Zeev Suraski
58153dfed0
- Improve the file handle closing code
1999-11-26 23:45:22 +00:00
Zeev Suraski
b53bc48847
This should get the file to close properly
1999-11-26 18:37:06 +00:00
Zeev Suraski
3b9673ca58
Fix inconsistencies with here-docs implementation
1999-11-22 17:11:36 +00:00
Zeev Suraski
86a0efcff5
Fix #2744
1999-11-22 16:30:23 +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
Sascha Schumann
7ed68c0f53
Provide alternative istdiostream.
...
This has been tested with Sun WorkShop 4.2 C++ which does not
contain class istdiostream.
1999-09-28 11:54:02 +00:00
Stig S. Bakken
009025e00d
* header file cleanup
...
* fixed --enable-thread-safety build for UNIX
I don't have a Win32 environment available, could someone please try
compiling on Win32 to see if I got all the header file stuff right there?
1999-09-06 16:14:08 +00:00
Andi Gutmans
c5d640d8af
- More elegant fix for Win32 include_path
1999-08-25 13:46:52 +00:00
Andi Gutmans
c7f7b1c3d6
- Temporary fix to allow Win32 MT safe version to use zend_fopen().
1999-08-25 12:20:50 +00:00
Thies C. Arntzen
9e9050a428
on unix ZTS gets defined in zend_config.h
1999-08-18 15:26:39 +00:00
Zeev Suraski
8d1de13aef
0.91 update
1999-07-19 20:02:12 +00:00
Zeev Suraski
b5b1117760
License update
1999-07-16 14:58:16 +00:00