3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (version_compare(PHP_VERSION, '7.0.0-dev') < 0) { assert_options(ASSERT_CALLBACK, function($file, $line, $code, $message) { print_r(array($message)); }); } assert(FALSE, 'Hi');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/219q9
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'version_compare'
          1        SEND_VAL                                                 '8.0.0'
          2        SEND_VAL                                                 '7.0.0-dev'
          3        DO_ICALL                                         $0      
          4        IS_SMALLER                                               $0, 0
          5      > JMPZ                                                     ~1, ->11
    4     6    >   INIT_FCALL                                               'assert_options'
          7        SEND_VAL                                                 2
          8        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F219q9%3A4%240'
    6     9        SEND_VAL                                                 ~2
         10        DO_ICALL                                                 
    9    11    >   ASSERT_CHECK                                             
         12        INIT_FCALL                                               'assert'
         13        SEND_VAL                                                 <false>
         14        SEND_VAL                                                 'Hi'
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F219q9%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/219q9
function name:  {closure}
number of ops:  9
compiled vars:  !0 = $file, !1 = $line, !2 = $code, !3 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
    5     4        INIT_FCALL                                               'print_r'
          5        INIT_ARRAY                                       ~4      !3
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                                 
    6     8      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F219q9%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.67 ms | 1396 KiB | 21 Q