bug66440.phpt 313 B

1234567891011121314151617
  1. --TEST--
  2. Bug #66440 (Optimisation of conditional JMPs based on pre-evaluate constant function calls)
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. opcache.optimization_level=-1
  7. opcache.file_update_protection=0
  8. --EXTENSIONS--
  9. opcache
  10. --FILE--
  11. <?php
  12. if(constant('PHP_BINARY')) {
  13. echo "OK\n";
  14. }
  15. ?>
  16. --EXPECT--
  17. OK