|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5233 | minor | always | 10-03-12 21:22 | 11-30-12 08:11 | |
|
|
|||||
| Reporter: | nagaseyasuhito | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | 4.0.31 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0005233: is_callable method is different behavior from PHP5.x | ||||
| Description: |
I found a bug of is_callable method behavior. see Additional Information. thanks. |
||||
| Steps To Reproduce: | |||||
| Additional Information: |
$ php -v PHP 5.3.3 (cli) (built: Jul 3 2012 16:53:21) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies $ cat test.php <?php class Test { protected static function protected_static_method() { } public static function caller() { var_dump(is_callable(array("Test", "protected_static_method"))); } } var_dump(is_callable(array("Test", "protected_static_method"))); Test::caller(); $ java -cp resin.jar com.caucho.quercus.CliQuercus test.php bool(false) bool(false) $ php test.php bool(false) bool(true) |
||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||