Kenan Sulayman wrote:
> Hello PHP internals,
>
> I've been running several million tests regarding the
> arithmetically-random-functions.
>
> The returning value at the end:
> Avg: mt_r: 1073848211.4106 r: 16384.155746685 ~8016909
> Avg: mt_r: 1073904131.0286 r: 16384.164383921 ~8503575
> Avg: mt_r
zoe wrote:
>
>> Hi Zoe,
>>
>> Is there documentation on this change?
> Hi Greg - you mean the change I made to the phpinfo.phpt test? If so I
> changed it because it was failing and should not have been. Or do you
> mean changes to run-tests.php options?
I meant to run-tests.php.
>> I'm finding i
Hi Zoe,
Is there documentation on this change?
Hi Greg - you mean the change I made to the phpinfo.phpt test? If so I
changed it because it was failing and should not have been. Or do you
mean changes to run-tests.php options?
I'm finding it a little bit
arbitrary that run-tests keeps chan
Zoe Slattery wrote:
> zoe Wed Mar 4 10:23:01 2009 UTC
>
> Modified files: (Branch: PHP_5_3)
> /php-src/ext/standard/tests/general_functions phpinfo.phpt
> Log:
> fixed test
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/phpi
2009/3/4 Pierre Joye :
> hi,
>
> It is, via openssl.
>
> php -d extension_dir=ext -dextension=php_openssl.dll -r "print_r(stream_get
> _wrappers());"
> Array
> (
> [0] => php
> [1] => file
> [2] => glob
> [3] => data
> [4] => http
> [5] => ftp
> [6] => zip
> [7] => compress.
hi,
It is, via openssl.
php -d extension_dir=ext -dextension=php_openssl.dll -r "print_r(stream_get
_wrappers());"
Array
(
[0] => php
[1] => file
[2] => glob
[3] => data
[4] => http
[5] => ftp
[6] => zip
[7] => compress.zlib
[8] => https
[9] => ftps
[10
Guess you're right ;-D
Thanks!
--
(c) Kenan Sulayman
Freelance Designer and Programmer
Life's Live Poetry
2009/3/4 Stefan Walk
>
> On 4 Mar 2009, at 15:46, Kenan Sulayman wrote:
>
> Hey Pierre!
>>
>> Didn't I included the mt_rand function in my tests ?
>>
>> Quote: "Average of mersenne twis
Hi.
Running PHP Version 5.3.0beta2-dev on Windows
Registered PHP Streams php, file, glob, data, http, ftp, zip,
compress.zlib, phar
As such, I can't use https. Except for curl.
Is that normal?
--
-
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=21347473
On 4 Mar 2009, at 15:46, Kenan Sulayman wrote:
Hey Pierre!
Didn't I included the mt_rand function in my tests ?
Quote: "Average of mersenne twister in 8016909 it's is
1073848211.4106 (
corresponding to that in 8503575 it's the avg. is 1073904131.0286)."
The mail was meant to make the rand
Kenan Sulayman wrote:
The rand(x) function alters the avg in 5M iterations really by just 0.1 ?
Wow, that's creepy.
Is there any way - to make it better ( or a bit as good as the m_twister is
? ) ?
there's a reason why mt_rand() is referred to as "Generate a better
random value" in the rand()
Hey Pierre!
Didn't I included the mt_rand function in my tests ?
Quote: "Average of mersenne twister in 8016909 it's is 1073848211.4106 (
corresponding to that in 8503575 it's the avg. is 1073904131.0286)."
The mail was meant to make the rand(x) function more good;
I already use the mt_rand() fu
hi,
And please disable this auto reply on your system:
"Der Server hat ihre Nachricht erfolgreich verarbeitet!
Vielen Dank,
Ihr KurealCorporation Kunden Service."
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsu
hi,
On Wed, Mar 4, 2009 at 2:50 PM, Kenan Sulayman wrote:
> I've been running several million tests regarding the
> arithmetically-random-functions.
>
> The returning value at the end:
> Avg: mt_r: 1073848211.4106 r: 16384.155746685 ~8016909
> Avg: mt_r: 1073904131.0286 r: 16384.164383921 ~85035
Hello PHP internals,
I've been running several million tests regarding the
arithmetically-random-functions.
The returning value at the end:
Avg: mt_r: 1073848211.4106 r: 16384.155746685 ~8016909
Avg: mt_r: 1073904131.0286 r: 16384.164383921 ~8503575
Avg: mt_r: 1074010520.4456 r: 16384.091213092 ~
Update:
Reached: Average: 1.3338460335041E-5 seconds / 817542.
Shape:
Average: ( $seconds ) seconds / ( $iterations ).
--
(c) Kenan Sulayman
Freelance Designer and Programmer
Life's Live Poetry
2009/3/4 Kenan Sulayman
> Hello Mike!
>
> Depending on how you'd define expensive, it may variate.
On Wed, Mar 4, 2009 at 1:07 PM, Kenan Sulayman wrote:
> Hello Mike!
>
> Depending on how you'd define expensive, it may variate.
> Normally, on websites function_exists(x) ain't expensive.
>
> Altrought function_exists needed 0.77009201049805 seconds to execute.
> Do you think, that's pretty e
Hello Mike!
Depending on how you'd define expensive, it may variate.
Normally, on websites function_exists(x) ain't expensive.
Altrought function_exists needed 0.77009201049805 seconds to execute.
Do you think, that's pretty expensive ?
Your,
--
(c) Kenan Sulayman
Freelance Designer and Prog
2009/3/4 Olivier B. :
>
> Alexey Zakhlestin a écrit :
>>
>> On Wed, Mar 4, 2009 at 2:33 PM, Richard Quadling
>> wrote:
>>
>>>
>>> Hi.
>>>
>>> Quite a simple question (assuming I've got the terminology correct).
>>>
>>> Are there any plans to allow code like this (amended example taken
>>> from the
Alexey Zakhlestin a écrit :
On Wed, Mar 4, 2009 at 2:33 PM, Richard Quadling
wrote:
Hi.
Quite a simple question (assuming I've got the terminology correct).
Are there any plans to allow code like this (amended example taken
from the array_map() documentation) ...
It works. You hav
You need PHP 5.3 for that. Here's the RFC:
http://wiki.php.net/rfc/closures
On 3/4/2009 13:33, Richard Quadling wrote:
Hi.
Quite a simple question (assuming I've got the terminology correct).
Are there any plans to allow code like this (amended example taken
from the array_map() documentatio
On Wed, Mar 4, 2009 at 2:33 PM, Richard Quadling
wrote:
> Hi.
>
> Quite a simple question (assuming I've got the terminology correct).
>
> Are there any plans to allow code like this (amended example taken
> from the array_map() documentation) ...
>
> $a = array(1, 2, 3, 4, 5);
> $b = array_map(f
Hi.
Quite a simple question (assuming I've got the terminology correct).
Are there any plans to allow code like this (amended example taken
from the array_map() documentation) ...
http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--
PHP In
I am trying to figure out a strategy for multiple output formats on a
site, and it seems like I can have functions defined by default, but
have them defined -after- I've included the targetted format first.
However that would require
file1.php:
function foo() {}
file2.php
if(!function_exists('
23 matches
Mail list logo