Custom Query (297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (16 - 18 of 297)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#19 fixed inheritance problem moo judas_iscariote
Description

Hi the following code produces wrong results and segfaults.

<?php

abstract class Foo {

protected function & a (){}

abstract function & b ();

}

class Bar extends Foo {

 protected function &a(){}

 public function &b()
 {
     $retval =& $this->a();
 }

}

$bar = new Bar();
$bar->b();
?>
  • Expected result :

Notice: Only variable references should be returned by reference in /srv/www/htdocs/bug2.php on line 13 Notice: Only variable references should be returned by reference in /srv/www/htdocs/bug2.php on line 18

  • Actual result :

at the first call : see expected result.

at the second call : Fatal error: Call to protected method Bar::a() from context 'Bar' in bug.php on line 17 and the apache child segfaults :(

#20 fixed support for __HALT_COMPILER() and __COMPILER_HALT_OFFSET__ moo moo
Description

same bug as in apc bug #7209 :)

#26 fixed CC test only moo moo
Description

this is a CC test only ticket. do not reply.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Note: See TracQuery for help on using queries.