3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_1 = "uno"; $_3 = "tres"; $_5 = "cinco"; for ($i = 0; $i < 1000; ++$i) { echo "$_1 dos $_3 cuatro $_5\n"; } for ($i = 0; $i < 1000; ++$i) { echo $_1 . " dos " . $_3 . " cuatro " . $_5 . "\n"; } for ($i = 0; $i < 1000; ++$i) { echo $_1 . ' dos ' . $_3 . ' cuatro ' . $_5 . PHP_EOL; } for ($i = 0; $i < 1000; ++$i) { printf("%s dos %s cuatro %s\n", $_1, $_3, $_5); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 17
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 28
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
2 jumps found. (Code = 44) Position 1 = 48, Position 2 = 39
Branch analysis from position: 48
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 48, Position 2 = 39
Branch analysis from position: 48
Branch analysis from position: 39
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 28
Branch analysis from position: 37
Branch analysis from position: 28
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 17
Branch analysis from position: 26
Branch analysis from position: 17
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
Branch analysis from position: 5
filename:       /in/au6nN
function name:  (null)
number of ops:  49
compiled vars:  !0 = $_1, !1 = $_3, !2 = $_5, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'uno'
    3     1        ASSIGN                                                   !1, 'tres'
    4     2        ASSIGN                                                   !2, 'cinco'
    6     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->13
    7     5    >   ROPE_INIT                                     6  ~9      !0
          6        ROPE_ADD                                      1  ~9      ~9, '+dos+'
          7        ROPE_ADD                                      2  ~9      ~9, !1
          8        ROPE_ADD                                      3  ~9      ~9, '+cuatro+'
          9        ROPE_ADD                                      4  ~9      ~9, !2
         10        ROPE_END                                      5  ~8      ~9, '%0A'
         11        ECHO                                                     ~8
    6    12        PRE_INC                                                  !3
         13    >   IS_SMALLER                                               !3, 1000
         14      > JMPNZ                                                    ~13, ->5
   10    15    >   ASSIGN                                                   !3, 0
         16      > JMP                                                      ->24
   11    17    >   CONCAT                                           ~15     !0, '+dos+'
         18        CONCAT                                           ~16     ~15, !1
         19        CONCAT                                           ~17     ~16, '+cuatro+'
         20        CONCAT                                           ~18     ~17, !2
         21        CONCAT                                           ~19     ~18, '%0A'
         22        ECHO                                                     ~19
   10    23        PRE_INC                                                  !3
         24    >   IS_SMALLER                                               !3, 1000
         25      > JMPNZ                                                    ~21, ->17
   14    26    >   ASSIGN                                                   !3, 0
         27      > JMP                                                      ->35
   15    28    >   CONCAT                                           ~23     !0, '+dos+'
         29        CONCAT                                           ~24     ~23, !1
         30        CONCAT                                           ~25     ~24, '+cuatro+'
         31        CONCAT                                           ~26     ~25, !2
         32        CONCAT                                           ~27     ~26, '%0A'
         33        ECHO                                                     ~27
   14    34        PRE_INC                                                  !3
         35    >   IS_SMALLER                                               !3, 1000
         36      > JMPNZ                                                    ~29, ->28
   18    37    >   ASSIGN                                                   !3, 0
         38      > JMP                                                      ->46
   19    39    >   INIT_FCALL                                               'printf'
         40        SEND_VAL                                                 '%25s+dos+%25s+cuatro+%25s%0A'
         41        SEND_VAR                                                 !0
         42        SEND_VAR                                                 !1
         43        SEND_VAR                                                 !2
         44        DO_ICALL                                                 
   18    45        PRE_INC                                                  !3
         46    >   IS_SMALLER                                               !3, 1000
         47      > JMPNZ                                                    ~33, ->39
   20    48    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.87 ms | 1400 KiB | 15 Q