3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '2d8'; print "$x\n"; $x++; print "$x\n"; $x++; print "$x\n"; $x++; print "$x\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JCMlK
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2d8'
    4     1        NOP                                                      
          2        FAST_CONCAT                                      ~2      !0, '%0A'
          3        ECHO                                                     ~2
    6     4        PRE_INC                                                  !0
    7     5        NOP                                                      
          6        FAST_CONCAT                                      ~4      !0, '%0A'
          7        ECHO                                                     ~4
    9     8        PRE_INC                                                  !0
   10     9        NOP                                                      
         10        FAST_CONCAT                                      ~6      !0, '%0A'
         11        ECHO                                                     ~6
   12    12        PRE_INC                                                  !0
   13    13        NOP                                                      
         14        FAST_CONCAT                                      ~8      !0, '%0A'
         15        ECHO                                                     ~8
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
256.65 ms | 1082 KiB | 13 Q