| Anonymous | Login | Signup for a new account | 10-24-2025 10:02 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0005233 | [Quercus] | minor | always | 10-03-12 21:22 | 11-30-12 08:11 | |||||||
| Reporter | nagaseyasuhito | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | new | Product Version | 4.0.31 | |||||||||
| 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. |
|||||||||||
| 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) |
|||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 10-03-12 21:22 | nagaseyasuhito | New Issue | |
| 11-30-12 08:11 | nam | Note Added: 0006099 | |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |