Custom Query (297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 297)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#187 worksforme adming doesn work moo hardik@…
Description

Hi,

I have configured xcache on my server with admin. When I browse admin its asking for login details. After giving login details it keeps on showing process and nothing happens. Seems like its going in look somewhere.

#194 worksforme PHP 5.3 class type hint must be null error with namespaces moo tom@…
Description

Using xcache from svn trunk, once any class that uses class type hints in a method definition with null as the default value has been cached, php engine will throw a fatal error complaining that the default value is *not* null, if you "use" the same namespace as the one you are working in.

trivial example:

<?php
namespace My::NS;

use My::NS;

class A {
    public function test(A $obj=null) {
        var_dump($obj);
    }
}

actual result: "Fatal error: Default value for parameters with a class type hint can only be NULL in ..."

expected: no errors

#238 worksforme if and else execute together! (class extends) moo ehsanch
Description

i create a simple php script :

<?php
class newclass {
    public function newfunc() {
        echo 'class exist';
    }
}
 
if (true) {
    class myclass1 extends newclass {}
}
else {
    class myclass2 extends newclass {}
}
 
$test = new myclass2;
$test->newfunc();
 

[root@server]# php test.php Fatal error: Class 'myclass2' not found in test.php on line 15

[root@server]# php-cgi test.php X-Powered-By: PHP/5.2.6 Content-type: text/html class exist

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