3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = ""; $names = array("l", "i", "a", "m", "i", "s", "a", "b", "o", "os"); $topscores = array(0); for ($i = 0; $i < 10; $i++) { array_push($topscores, $i); $result .= $names[$i] . ' ' . (string)$topscores[$i] . ' '; } echo $result; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 5
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 5
Branch analysis from position: 19
Branch analysis from position: 5
filename:       /in/jmReY
function name:  (null)
number of ops:  21
compiled vars:  !0 = $result, !1 = $names, !2 = $topscores, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, ''
          1        ASSIGN                                                   !1, <array>
          2        ASSIGN                                                   !2, <array>
          3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->17
          5    >   INIT_FCALL                                               'array_push'
          6        SEND_REF                                                 !2
          7        SEND_VAR                                                 !3
          8        DO_ICALL                                                 
          9        FETCH_DIM_R                                      ~9      !1, !3
         10        CONCAT                                           ~10     ~9, '+'
         11        FETCH_DIM_R                                      ~11     !2, !3
         12        CAST                                          6  ~12     ~11
         13        CONCAT                                           ~13     ~10, ~12
         14        CONCAT                                           ~14     ~13, '+'
         15        ASSIGN_OP                                     8          !0, ~14
         16        PRE_INC                                                  !3
         17    >   IS_SMALLER                                               !3, 10
         18      > JMPNZ                                                    ~17, ->5
         19    >   ECHO                                                     !0
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.75 ms | 1386 KiB | 15 Q