Oh! Thanks Nikita. I did not know that the exceptions in the engine already
accepted. But in fairness, in PHP "A $a" typehint does not make sure that
"$a instanceof A " returns true. You can change "test" fucntion in code
form my first message to
function test(A $a)
{
var_dump($a instanceof A);
}
ave a separate voting option for this.`
It's realy cool! Thanks you!
Best regards.
Andrew Kluev.
2015-03-13 15:40 GMT+03:00 Andrew Kluev :
> Oh! Thanks Nikita. I did not know that the exceptions in the engine
> already accepted. But in fairness, in PHP "A $a" typehint doe
I have code:
-
echo 'php_sapi_name: '.php_sapi_name().PHP_EOL;
echo 'max_input_time: '.ini_get('max_input_time').PHP_EOL;
echo 'max_execution_time: '.ini_get('max_execution_time').PHP_EOL;
set_time_limit(2);
echo 'max_input_time: '.ini_get('max_input_time').PH
It is very informative, but not resolve the problem, php completely ignored
my max_execution_teme setup with any SAPI, in all cases
2015-06-11 14:57 GMT+03:00 Andrew Kluev :
> And php7 not working too.
>
> php7 -v
> PHP 7.0.0-dev (cli) (built: Mar 30 2015 12:26:36) (DEBUG)
&g
)
> Copyright (c) 1997-2015 The PHP Group
> Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
>
> $ time ./sapi/cli/php test.php
> php_sapi_name: cli
> max_input_time: -1
> max_execution_time: 0
> max_input_time: -1
> max_execution_time: 2
>
> Fatal error: M
In branches: master, PHP-7.0, tags/php7.0.0RC5, tags/php-7.0.0RC4 i got
error
/bin/sh /home/andrew/Programs/php7/libtool --silent --preserve-dup-deps
--mode=compile /home/andrew/Programs/php7/meta_ccld -Iext/hash/
-I/home/andrew/Programs/php7/ext/hash/ -DPHP_ATOM_INC
-I/home/andrew/Programs/php7/
-25 0:12 GMT+03:00 Andrew Kluev :
> In branches: master, PHP-7.0, tags/php7.0.0RC5, tags/php-7.0.0RC4 i got
> error
>
> /bin/sh /home/andrew/Programs/php7/libtool --silent --preserve-dup-deps
> --mode=compile /home/andrew/Programs/php7/meta_ccld -Iext/hash/
> -I/home/andrew/Progr