3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.28 ms | 1394 KiB | 15 Q