3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "97.3"; $b = intval($a); print_r(gettype($a)); print_r(gettype($b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6RROg
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '97.3'
    4     1        CAST                                          4  ~3      !0
          2        ASSIGN                                                   !1, ~3
    5     3        INIT_FCALL                                               'print_r'
          4        GET_TYPE                                         ~5      !0
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'print_r'
          8        GET_TYPE                                         ~7      !1
          9        SEND_VAL                                                 ~7
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.93 ms | 1394 KiB | 15 Q