3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = simplexml_load_string('<a>1.5</a>'); echo (float)$x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QOZWK
function name:  (null)
number of ops:  7
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'simplexml_load_string'
          1        SEND_VAL                                                 '%3Ca%3E1.5%3C%2Fa%3E'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        CAST                                          5  ~3      !0
          5        ECHO                                                     ~3
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.31 ms | 938 KiB | 16 Q