3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Vallabh Kansagara <vrkansagara@gmail.com> | https://vrkansagara.in'; $reverse = ''; $i = 0; while(!empty($string[$i])){ $reverse = $string[$i].$reverse; $i++; } echo $reverse;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/eLttS
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $reverse, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Vallabh+Kansagara+%3Cvrkansagara%40gmail.com%3E+%7C+https%3A%2F%2Fvrkansagara.in'
    4     1        ASSIGN                                                   !1, ''
    5     2        ASSIGN                                                   !2, 0
    6     3      > JMP                                                      ->8
    7     4    >   FETCH_DIM_R                                      ~6      !0, !2
          5        CONCAT                                           ~7      ~6, !1
          6        ASSIGN                                                   !1, ~7
    8     7        PRE_INC                                                  !2
    6     8    >   ISSET_ISEMPTY_DIM_OBJ                         1  ~10     !0, !2
          9        BOOL_NOT                                         ~11     ~10
         10      > JMPNZ                                                    ~11, ->4
   10    11    >   ECHO                                                     !1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.15 ms | 1006 KiB | 13 Q