3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 123; $b = 'plop'; $obj = new stdClass($b = $a*100); var_dump($b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YEBa6
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 123
    4     1        ASSIGN                                                   !1, 'plop'
    6     2        NEW                                              $5      'stdClass'
          3        MUL                                              ~6      !0, 100
          4        ASSIGN                                           ~7      !1, ~6
          5        SEND_VAL_EX                                              ~7
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !2, $5
    8     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.95 ms | 1385 KiB | 15 Q