3v4l.org

run code in 300+ PHP versions simultaneously
<?php $php_ver = phpversion(); php_ver == "5.6.16" or die(); ECHO phpversion();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nsAWH
function name:  (null)
number of ops:  12
compiled vars:  !0 = $php_ver
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    5     3        FETCH_CONSTANT                                   ~3      'php_ver'
          4        IS_EQUAL                                         ~4      ~3, '5.6.16'
          5      > JMPNZ_EX                                         ~4      ~4, ->8
          6    > > EXIT                                                     
          7*       BOOL                                             ~4      <true>
    7     8    >   INIT_FCALL                                               'phpversion'
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.04 ms | 1394 KiB | 15 Q