Re: [PHP-DEV] Re: #20993 [Ver]: Element value changeswithoutasking

2002-12-14 Thread Moriyoshi Koizumi
Oops, the patch was wrong as the runtime occationally segfaults in a case like: Attached is the revised patch. Please try it out. And the result of a tiny benchmark follows: [Before patching] 1: 0.263245 2: 0.142505 3: 0.328045 4: 0.137149 [After patching] 1: 0.273811 2: 0.141965 3: 0.699429

[PHP-DEV] $php_errormsg not populated

2002-12-14 Thread Ivan Ristic
I have noticed that $php_errormsg is not populated for all types of errors. The code below is from main/main.c. Do you think that we can safely switch places for parts one and two? If we do $php_errormsg will be populated before bailing out, and this inconsistency will be sorted. -- pt 1 --

Re: [PHP-DEV] downgrade undefined function from fatal error

2002-12-14 Thread Ivan Ristic
John Coggeshall wrote: There is absolutely no reason why you cannot simply include your functions in your scripts Erm, to avoid manual work? There is no reason whatsoever to include files manually. Right now you must pre-load every single class you intend to use in the application. This

RE: [PHP-DEV] downgrade undefined function from fatal error

2002-12-14 Thread John Coggeshall
There is absolutely no reason why you cannot simply include your functions in your scripts. If you are really lazy, you can even auto_prepend an include file. John >-Original Message- >From: Dave [Hawk-Systems] [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 13, 2002 8:56 AM >To: [E

[PHP-DEV] is_callable documentation

2002-12-14 Thread Rick Widmer
I just submitted documentation for the is_callable function. I _think_ is correct, but someone who knows more about it than I might want to look it over. It should appear soon in the user notes at: http://www.php.net/manual/en/function.is-callable.php Rick Thanks to Andrei Zmievski and

[PHP-DEV] Re: Call to a member function on a non-object in

2002-12-14 Thread electroteque
this is strange i now get the same error for _crypt but it bypassed it before, is this a bug ? "Electroteque" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > never mind after a headache 24hrs , i have worked out someone has added > _encrypt as a php function whic

[PHP-DEV] uniqid

2002-12-14 Thread Marcus Börger
First: Uniqid test (tests/strings/001.phpt) failes for cygwin because the time for gettimeofday() is only updated once per second. I suggest we should change the test to use more entropy. Second: We should consider more entropy being default even though it is slower. Third: the function is availa

[PHP-DEV] PHP 4 Bug Summary Report

2002-12-14 Thread php-dev
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (1031 total including feature requests) ===[*Configuration Issues] 13561 Assigned --without-pear prevent install of php-config,phpize,... 19282 Won't fix Place php4ts.dl

Re: [PHP-DEV] Re: #20993 [Ver]: Element value changes withoutasking

2002-12-14 Thread Melvyn Sopacua
At 08:39 14-12-2002, Moriyoshi Koizumi wrote: > >This is a pretty well known issue indeed. > >I should have read the archive carefully. > > > >Related reports: > >http://bugs.php.net/bug.php?id=6417 > >http://bugs.php.net/bug.php?id=7412 > >http://bugs.php.net/bug.php?id=7515 > >http://bugs.php.n

[PHP-DEV] Re: Call to a member function on a non-object in

2002-12-14 Thread electroteque
never mind after a headache 24hrs , i have worked out someone has added _encrypt as a php function which is why it was somehow buggering my script up , i changed it back to _crypt and it is fine now. "Electroteque" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP-DEV] Call to a member function on a non-object in

2002-12-14 Thread electroteque
Hi i am getting either this error or Call to undefined function: _encrypt() within my class script , it has been working previously until i compiled the latest cvs, i am referecing my functions like so $this->_encrypt(); within other functions , what seems to be the problem ?? -- PHP Developme