3v4l.org

run code in 500+ PHP versions simultaneously
<?php assert_options(ASSERT_BAIL, true); assert_options(ASSERT_WARNING, true); assert('version_compare(PHP_VERSION, "5.5.0", ">=")'); echo 'hello world';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QZLog
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'assert_options'
          1        FETCH_CONSTANT                                       ~0      'ASSERT_BAIL'
          2        SEND_VAL                                                     ~0
          3        SEND_VAL                                                     <true>
          4        DO_FCALL_BY_NAME                                             
    4     5        INIT_FCALL                                                   'assert_options'
          6        FETCH_CONSTANT                                       ~2      'ASSERT_WARNING'
          7        SEND_VAL                                                     ~2
          8        SEND_VAL                                                     <true>
          9        DO_FCALL_BY_NAME                                             
    5    10        ASSERT_CHECK                                                 
         11        INIT_FCALL                                                   'assert'
         12        SEND_VAL                                                     'version_compare%28PHP_VERSION%2C+%225.5.0%22%2C+%22%3E%3D%22%29'
         13        SEND_VAL                                                     'assert%28%27version_compare%28PHP_VERSION%2C+%225.5.0%22%2C+%22%3E%3D%22%29%27%29'
         14        DO_ICALL                                                     
    7    15        ECHO                                                         'hello+world'
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.54 ms | 2710 KiB | 15 Q