3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo implode('.', array_shift(explode('.',PHP_VERSION, 2)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sImh7
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'implode'
          1        SEND_VAL                                                 '.'
          2        INIT_FCALL                                               'array_shift'
          3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '.'
          5        SEND_VAL                                                 '8.0.0'
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $0      
          8        SEND_VAR_NO_REF                               0          $0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        ECHO                                                     $2
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.8 ms | 1398 KiB | 19 Q