note 68686 deleted from control-structures.declare by betz
| From: | betz@php.net | Date: | Tue, 08 Aug 2006 11:01:24 +0000 |
| Subject: | note 68686 deleted from control-structures.declare by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-115631@lists.php.net to get a copy of this message | ||
Note Submitter: ep at numlog dot fr
----
$myticks = 5 ;
// Parse error :
declare(ticks=$myticks) ;
// Don't work (signals are not any more caught !)
$curticks = 'declare(ticks='.$myticks.');';
eval($curticks);
How can we customize dynamically ticks ?
Or ticks might never change during process ?
The problem is that ticks can't also be changed at start
without changing code ....
Any idea ?