Zeev Suraski
1b6ccfe86c
Cleanups & optimizations
1999-09-11 14:09:29 +00:00
Zeev Suraski
fb910c64cd
Cleanups
1999-09-11 13:44:23 +00:00
Andrey Hristov
42e39d474b
Remove extraneous debug dlerror() call which results in the subsequent
...
dlerror() returning NULL.
1999-09-08 19:36:18 +00:00
Andi Gutmans
48ab0fb57d
- Fix warnings and win32 compile
1999-09-07 20:29:31 +00:00
Andrey Hristov
6101d108e0
Here you go, Egon.
1999-09-07 19:41:28 +00:00
Stig Bakken
5c40e7c41e
Add thread-safety notice here. The solution is using gethostbyname_r,
...
but it seems that it takes different parameters on Solaris and
Linux. ;-P We should probably make a wrapper function, and make a
configure test that checks if there is a reentrant version available,
and if not protect gethostbyname and similar calls with a mutex until
the results have been copied. Ugly.
1999-09-07 18:46:25 +00:00
Andrey Hristov
7aacff63c9
Added second parameter to array_keys() which allows returning keys
...
only for a specific value in an array.
1999-09-07 18:29:59 +00:00
Andrey Hristov
cff218cf54
Kill compiler warning.
1999-09-07 18:26:36 +00:00
Andrey Hristov
209fe717b1
Kill warnings.
1999-09-07 16:09:18 +00:00
Uwe Steinmann
51b01ca9b7
- uniqid() used the additional parameter even if it was not provided
...
this caused an segm fault. fixed it.
1999-09-07 10:34:17 +00:00
Zeev Suraski
959ad0e9ea
A couple of BoundsChecker fixes
1999-09-06 22:40:27 +00:00
Egon Schmid
f0f7b9de53
File should here be string.
1999-09-06 20:13:23 +00:00
Jakub Skopal
a38995a832
Workaround for crypt() getting too few characters for salt.
1999-09-06 13:24:36 +00:00
Jakub Skopal
5cc16d86b0
Added addcslashes(), stripcslashes().
...
Reverted addslashes() to the very original behaviour.
1999-09-05 20:55:13 +00:00
Andi Gutmans
14d9a59f1c
- Make dir functions compile in Win32
...
- Fix too early memory manager initialization (For you Thies)
1999-09-05 19:04:40 +00:00
Jakub Skopal
8c2f752c3d
C++ comment fix... sorry.
1999-09-05 00:58:59 +00:00
Jakub Skopal
06545c3364
Appended second argument of addslashes(),
...
Changed php_addslashes() to add \000 instead of just \0
1999-09-05 00:55:48 +00:00
Rasmus Lerdorf
f42659a8f1
Kill a warning
1999-09-04 22:15:51 +00:00
Rasmus Lerdorf
d3439023d3
Catch a timeout and add user-level interface for connection handling
1999-09-04 21:10:39 +00:00
Zeev Suraski
c12d4bc7d4
*** empty log message ***
1999-09-04 13:18:59 +00:00
Thies C. Arntzen
9e959a0b8a
newest GetImageSize renamed header-file
1999-09-02 11:58:23 +00:00
Stig Bakken
4092f4b8c0
ext/lcg -> ext/standard in various places
1999-08-31 18:05:22 +00:00
Stig Bakken
b5375a323d
oops
1999-08-31 15:57:30 +00:00
Stig Bakken
b55d490ef0
fix for bug #2191
1999-08-31 15:27:31 +00:00
Stig Bakken
0e5f26c6bb
compat fix, bug #2201
1999-08-31 15:20:21 +00:00
Stig Bakken
5600f889b2
moved lcg stuff to ext/standard
1999-08-29 20:12:12 +00:00
Egon Schmid
2c0b8b5ac8
Oops, file should be string here.
1999-08-29 09:59:12 +00:00
Philippe Verdy
ce6db81dce
semicolon syntax error
1999-08-28 17:01:32 +00:00
Philippe Verdy
1dcee0c840
Bug in gmmktime():
...
it produced wrong results in New Foundland,
Central Australia, India, Iran, and Java, with
half-hour timezones.
1999-08-28 16:19:14 +00:00
Sascha Schumann
52cd153723
merge in fix from php3
1999-08-28 13:53:46 +00:00
Zeev Suraski
aa8b27ba1d
Better debug macros
1999-08-27 19:17:19 +00:00
Andi Gutmans
7a9ad9d0c8
Make fopen() work with URL's in Win32
1999-08-25 16:24:14 +00:00
Sascha Schumann
c9bb8db0ad
get rid of that usleep() and add some entropy using the combined lcg
1999-08-21 17:22:08 +00:00
Andi Gutmans
aeec4e198a
- Fixed memory leaks. tsrm resource id deallocation still needs to be implemented.
1999-08-19 16:52:53 +00:00
Andrey Hristov
c10c675f5b
Fixed bug #2105
1999-08-18 17:23:01 +00:00
Zeev Suraski
65e6d82771
Fix #2096
1999-08-17 22:00:02 +00:00
Sascha Schumann
71e3f6fde3
merge in change:
...
Date: Monday June 28, 1999 @ 4:40
Author: bjh
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv5697
Modified Files:
crypt.c
Log Message:
Stop core dump using crypt() with standard DES. When PHP3_MAX_SALT_LEN = 2
adding the null terminator to the salt exceeds allocated space causing
stack corruption.
1999-08-17 18:21:04 +00:00
Thies C. Arntzen
e30a2740cf
imported diskfreespace from 3.0
1999-08-17 12:32:23 +00:00
Andrey Hristov
a0bf6b0923
Removed internal pointer reset from array_walk.
1999-08-16 14:19:49 +00:00
Thies C. Arntzen
94ce166244
added a few PLS_FETCH()
1999-08-15 18:52:10 +00:00
Andrey Hristov
c85209985a
Forgot to have internal pointer reset.
1999-08-14 16:43:38 +00:00
Zeev Suraski
2560bfd5f9
Rename TestClass to OverloadedTestClass
1999-08-14 11:08:26 +00:00
Zeev Suraski
58e24ac18a
- Add PHP Modules workspace
...
- Get the MySQL module to compile&work under thread-safe Win32
- Fix various thread safety issues with dynamic modules
1999-08-13 21:03:27 +00:00
Andrey Hristov
5ae3f32b24
Fixed bug #2023 .
1999-08-13 20:28:27 +00:00
Philippe Verdy
646db4f072
signed/unsigned warning removed
1999-08-12 10:53:29 +00:00
Egon Schmid
8588b58a5e
More typos.
1999-08-09 20:52:58 +00:00
Zeev Suraski
1e6c159422
Built-in phpinfo() links are now turned off by default. They can be
...
turned on using the allow_builtin_links INI directive
1999-08-07 18:21:35 +00:00
Zeev Suraski
9b09f412bf
- Changed phpinfo() to list modules that have no info function
1999-08-07 17:52:11 +00:00
Andrey Hristov
fd87bb3321
Modified array_walk() function so that the userland callback is passed
...
a key and possible user data in addition to the value. It's still backward
compatible with one argument version.
1999-08-07 16:43:25 +00:00
Stefan Roehrich
4f3f4699ea
Corrected spelling.
1999-08-07 15:50:26 +00:00
Zeev Suraski
125300b563
Fix&improve conversion scripts
1999-08-07 15:31:57 +00:00
Zeev Suraski
edabed5604
count/sizeof had their arguments setup wrong (messup between Beta 1 and 2)
1999-08-06 15:34:51 +00:00
Zeev Suraski
37d7d08482
- Improved register_shutdown_function() - you may now supply arguments that
...
will be passed to the shutdown function
- Improved call_user_func() and call_user_method() - they now support passing
arguments by reference
- Fixed usort() and uksort()
1999-08-06 15:25:11 +00:00
Thies C. Arntzen
4b8a100ec9
fix for #1947
1999-08-06 08:56:15 +00:00
Rasmus Lerdorf
f2fe56ff69
[s]printf fix for bug #1952
...
(note, [s]printf doesn't work in PHP4 yet)
1999-08-03 20:08:33 +00:00
Zeev Suraski
dcf9114329
AIX needs this include...
1999-08-02 19:59:04 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
98037c425d
Updated proto
1999-08-02 14:31:41 +00:00
Andi Gutmans
91ec4763fd
Support resource type in gettype()
1999-08-01 17:56:09 +00:00
Zeev Suraski
eb3d12c6dd
Fix bug #1914
1999-07-31 16:20:06 +00:00
Zeev Suraski
3ee8c8f0da
This should fix the implode() problem
1999-07-30 22:17:51 +00:00
Andi Gutmans
e3246872e3
-Tiny fix
1999-07-29 04:03:03 +00:00
Andi Gutmans
7d0715d53d
- Added function documentation prototypes. Thanks to Egon Schmid for
...
straightening me out :)
1999-07-29 03:48:29 +00:00
Andi Gutmans
a7af382874
- Added get_class($obj), get_parent_class($obj) and method_exists($obj,"name")
1999-07-28 17:58:38 +00:00
Andrey Hristov
5aa3eff94f
Fix link functions problem.
1999-07-28 13:59:35 +00:00
Danny Heijl
d69ec49dc6
Make it compile again
1999-07-28 11:26:58 +00:00
Philippe Verdy
e1b5df4b55
Commited changes in php3 function/soundex 1.32
1999-07-28 07:04:26 +00:00
Andi Gutmans
71ffa09f41
- strttotime is compiled in on win32 again.
1999-07-27 17:30:45 +00:00
Andrey Hristov
15d87d2452
check for nKeyLength not arKey
1999-07-27 16:26:30 +00:00
Andrey Hristov
cd0dd562f0
Fix for bug #1887 .
1999-07-27 16:17:58 +00:00
Andrey Hristov
ad671669ce
Fix for bug #1891
1999-07-27 13:40:54 +00:00
Andrey Hristov
1b2c932cc2
More symbol work.
...
I've defined a few macros to help with module/request init/startup function definitions.
Basically:
PHP_MINIT_FUNCTION(module)
PHP_MSHUTDOWN_FUNCTION(module)
PHP_RINIT_FUNCTION(module)
PHP_RSHUTDOWN_FUNCTION(module)
PHP_MINFO_FUNCTION(module)
These will expand to proper function prototypes.
Now to specify these in the module entry, use:
PHP_MINIT(module)
PHP_MSHUTDOWN(module)
PHP_RINIT(module)
PHP_RSHUTDOWN(module)
PHP_MINFO(module)
I've updated all modules in ext/standard and everything from ext/apache to ext/db.
If you can, please update your module to use these macros.
1999-07-26 20:09:08 +00:00
Andi Gutmans
8f51f72dc6
- Fix the new operator incompatibility.
...
- I commented PHP_FUNCTION(strtotime) in datetime.c because it stopped
win32 from compiling. This needs to be fixed!!!
- Check out libzend to compile the tree now.
1999-07-26 16:57:06 +00:00
Andrey Hristov
736f4831a5
A bunch of grunt work updating function entries and declarations.
1999-07-24 22:16:54 +00:00
Zeev Suraski
68e32f6ac3
* Make Win32 build work again
...
* Make error_reporting value prior to the standard initialization be
set so that errors show up
1999-07-24 16:52:00 +00:00
Zeev Suraski
2b2bda778e
* Fix a warning
...
* Update ChangeLog
1999-07-24 14:36:48 +00:00
Rasmus Lerdorf
d9f6ea2fc3
Fix broken build
1999-07-24 02:43:22 +00:00
Rasmus Lerdorf
8de073782c
Bring rand.c up to date
1999-07-24 02:30:37 +00:00
Andrey Hristov
974f278257
Added function entry for similar_text().
1999-07-23 22:47:24 +00:00
Andrey Hristov
244cc30c14
Added function entry for strip_tags.
1999-07-23 22:35:14 +00:00
Andrey Hristov
9dd45ec800
Ported strtotime() function.
1999-07-23 19:51:27 +00:00
Andrey Hristov
64dae03eea
-Ported all remaining date() options
...
-Made array_walk() work somewhat, but it's not
possible to change array values from inside the
walk function yet
1999-07-22 15:15:41 +00:00
Sascha Schumann
9a910ed353
sync with 1.133
1999-07-21 16:12:13 +00:00
Stig Bakken
2ab934bfc2
fix to reiterate that one should _always_ use braces around if/else/for/while
1999-07-21 14:27:05 +00:00
Sascha Schumann
58bb4adae1
use the same version as in php3
1999-07-21 09:31:48 +00:00
Sascha Schumann
63f7648fdc
use reverse lookup array, submitted by bfranklin@dct.com, #1755
1999-07-21 09:02:05 +00:00
Mike Gerdts
72f675be50
exec() can now properly handle lines longer than (EXEC_INPUT_BUF-2) bytes.
...
Lines being returned via the array that that contain only "\n" now are
trimmed down to "" to be consistent with exec's whitespace trimming
behavior for all other lines.
1999-07-20 20:19:58 +00:00
Andrey Hristov
3ff606a934
Added 'n' option to date().
1999-07-20 19:11:32 +00:00
Andrey Hristov
2d1b6f0801
Added headers_sent() function
1999-07-20 18:03:27 +00:00
Andrey Hristov
f8fdee1c66
Fix for bug #1750 .
1999-07-20 16:59:30 +00:00
Andrey Hristov
40de81a5d9
Updated status
1999-07-19 20:27:49 +00:00
Zeev Suraski
c1853b5628
*** empty log message ***
1999-07-19 18:37:42 +00:00
Andrey Hristov
d1b1e3513f
Kill compiler warnings.
1999-07-19 15:07:17 +00:00
Sascha Schumann
afb16a5818
update
1999-07-19 14:07:10 +00:00
Andrey Hristov
18579a5f64
More credits.
1999-07-19 13:35:13 +00:00
Andrey Hristov
715dc6b23a
Update credits a bit.
...
"Overall Work" line should probably be extended.
1999-07-17 20:38:14 +00:00
Andrey Hristov
4518351648
Proto change
1999-07-17 19:23:32 +00:00
Zeev Suraski
5a3e983fa4
*** empty log message ***
1999-07-17 19:22:27 +00:00
Zeev Suraski
614b4b781e
I was sure I committed these already. Weird
1999-07-17 19:17:42 +00:00
Zeev Suraski
cbcf7c66bc
*** empty log message ***
1999-07-17 17:33:42 +00:00