3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.71 ms | 1393 KiB | 17 Q