Re: [PHP-DEV] ticks - broken in win32?

2002-05-20 Thread Frank M. Kromann

I get

Notice: Undefined index:  tick in ticks.php on line 4

- Frank

 Can anyone else reproduce this?
 
 ?php
 function tickit()
 {
$GLOBALS[tick]++;
 }
 
 register_tick_function(tickit);
 
 declare(ticks=2) {
 $a = 1;
 $b = 2;
 $c = 3;
 }
 ?
 
 I get a segfault in php_tick_iterator on the line where
 it makes the function call.  I'm not sure whats going wrong
 here.
 
 --Wez.
 
 -- 
 Wez Furlong
 The Brain Room Ltd.
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] ticks - broken in win32?

2002-05-20 Thread Wez Furlong

But no segfault?

I'll have to dig a bit deeper.

--Wez.

On 20/05/02, Frank M. Kromann [EMAIL PROTECTED] wrote:
 I get
 
 Notice: Undefined index:  tick in ticks.php on line 4
 
 - Frank
 
  Can anyone else reproduce this?
  
  ?php
  function tickit()
  {
 $GLOBALS[tick]++;
  }
  
  register_tick_function(tickit);
  
  declare(ticks=2) {
  $a = 1;
  $b = 2;
  $c = 3;
  }
  ?
  
  I get a segfault in php_tick_iterator on the line where
  it makes the function call.  I'm not sure whats going wrong
  here.
  
  --Wez.
  
  -- 
  Wez Furlong
  The Brain Room Ltd.
  
  
  -- 
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, visit: http://www.php.net/unsub.php
  
  
 
 
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php