3v4l.org

run code in 500+ PHP versions simultaneously
<?php $x = new simplexmlelement('<xml><el>1.5</el></xml>'); $myl = 1.5; echo "Point spread: " . ($x->el * -1.0) . " and " . (float)$x->el . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bm7C2
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x, !1 = $myl
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   NEW                                                  $2      'simplexmlelement'
          1        SEND_VAL_EX                                                  '%3Cxml%3E%3Cel%3E1.5%3C%2Fel%3E%3C%2Fxml%3E'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $2
    3     4        ASSIGN                                                       !1, 1.5
    4     5        FETCH_OBJ_R                                          ~6      !0, 'el'
          6        MUL                                                  ~7      ~6, -1
          7        CONCAT                                               ~8      'Point+spread%3A+', ~7
          8        CONCAT                                               ~9      ~8, '+and+'
          9        FETCH_OBJ_R                                          ~10     !0, 'el'
         10        CAST                                              5  ~11     ~10
         11        CONCAT                                               ~12     ~9, ~11
         12        CONCAT                                               ~13     ~12, '%0A'
         13        ECHO                                                         ~13
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.23 ms | 2019 KiB | 13 Q