3v4l.org

run code in 300+ PHP versions simultaneously
<?php $shift = 1.30; $bh = explode('.',$shift); $a = intval($bh[0]); echo $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/83QfO
function name:  (null)
number of ops:  11
compiled vars:  !0 = $shift, !1 = $bh, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1.3
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '.'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    4     6        FETCH_DIM_R                                      ~6      !1, 0
          7        CAST                                          4  ~7      ~6
          8        ASSIGN                                                   !2, ~7
    6     9        ECHO                                                     !2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.2 ms | 1394 KiB | 15 Q