3v4l.org

run code in 500+ PHP versions simultaneously
<?php if (version_compare(PHP_VERSION, '7.0.0-dev') < 0) { assert_options(ASSERT_CALLBACK, function($file, $line, $code, $message) { if (empty($message)) { $message = $code; } var_dump(array($message)); }); } assert('FALSE');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/bpunR
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'version_compare'
          1        SEND_VAL                                                     '8.5.0'
          2        SEND_VAL                                                     '7.0.0-dev'
          3        DO_ICALL                                             $0      
          4        IS_SMALLER                                                   $0, 0
          5      > JMPZ                                                         ~1, ->12
    4     6    >   INIT_FCALL                                                   'assert_options'
          7        FETCH_CONSTANT                                       ~2      'ASSERT_CALLBACK'
          8        SEND_VAL                                                     ~2
          9        DECLARE_LAMBDA_FUNCTION                              ~3      [0]
    9    10        SEND_VAL                                                     ~3
    4    11        DO_FCALL_BY_NAME                                             
   12    12    >   ASSERT_CHECK                                                 
         13        INIT_FCALL                                                   'assert'
         14        SEND_VAL                                                     'FALSE'
         15        SEND_VAL                                                     'assert%28%27FALSE%27%29'
         16        DO_ICALL                                                     
         17      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/bpunR
function name:  {closure:/in/bpunR:4}
number of ops:  12
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        ISSET_ISEMPTY_CV                                             !3
          5      > JMPZ                                                         ~4, ->7
    6     6    >   ASSIGN                                                       !3, !2
    8     7    >   INIT_FCALL                                                   'var_dump'
          8        INIT_ARRAY                                           ~6      !3
          9        SEND_VAL                                                     ~6
         10        DO_ICALL                                                     
    9    11      > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
128.48 ms | 482 KiB | 11 Q