3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = 'abcdefghijklmonpqrst'; for($i = 1; $i <= 200000; $i++) { $x=$i * 5; $x=$x + $x; $x=$x/10; $string3 = $string1 . strrev($string1); $string2 = substr($string1, 20, 1) . substr($string1, 0, 20); $string1 = $string2; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 3
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 3
Branch analysis from position: 30
Branch analysis from position: 3
filename:       /in/IDc2h
function name:  (null)
number of ops:  31
compiled vars:  !0 = $string1, !1 = $i, !2 = $x, !3 = $string3, !4 = $string2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'abcdefghijklmonpqrst'
    4     1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->28
    8     3    >   MUL                                              ~7      !1, 5
          4        ASSIGN                                                   !2, ~7
   10     5        ADD                                              ~9      !2, !2
          6        ASSIGN                                                   !2, ~9
   12     7        DIV                                              ~11     !2, 10
          8        ASSIGN                                                   !2, ~11
   14     9        INIT_FCALL                                               'strrev'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $13     
         12        CONCAT                                           ~14     !0, $13
         13        ASSIGN                                                   !3, ~14
   16    14        INIT_FCALL                                               'substr'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 20
         17        SEND_VAL                                                 1
         18        DO_ICALL                                         $16     
         19        INIT_FCALL                                               'substr'
         20        SEND_VAR                                                 !0
         21        SEND_VAL                                                 0
         22        SEND_VAL                                                 20
         23        DO_ICALL                                         $17     
         24        CONCAT                                           ~18     $16, $17
         25        ASSIGN                                                   !4, ~18
   18    26        ASSIGN                                                   !0, !4
    4    27        PRE_INC                                                  !1
         28    >   IS_SMALLER_OR_EQUAL                                      !1, 200000
         29      > JMPNZ                                                    ~22, ->3
   24    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.27 ms | 1388 KiB | 17 Q