3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function fоr( $f, $o, $r ) { for ( $i=$f; $i < $o; $i += $r ) echo "😐"; } fоr( $f=0, $f < 1, ++$f);
based on eZINZ
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/ZZ5V2
function name:  (null)
number of ops:  10
compiled vars:  !0 = $f
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   8     1        INIT_FCALL                                               'f%D0%BEr'
         2        ASSIGN                                           $1      !0, 0
         3        SEND_VAR                                                 $1
         4        IS_SMALLER                                       ~2      !0, 1
         5        SEND_VAL                                                 ~2
         6        PRE_INC                                          $3      !0
         7        SEND_VAR                                                 $3
         8        DO_FCALL                                      0          
         9      > RETURN                                                   1

Function f%D0%BEr:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 7
Branch analysis from position: 7
Jump found. Position 1 = 9, Position 2 = 5
Branch analysis from position: 9
Jump found. Position 1 = -2
Branch analysis from position: 5
Jump found. Position 1 = 9, Position 2 = 5
Branch analysis from position: 9
Branch analysis from position: 5
filename:       /in/ZZ5V2
function name:  fоr
number of ops:  10
compiled vars:  !0 = $f, !1 = $o, !2 = $r, !3 = $i
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   RECV                                             !0      
         1        RECV                                             !1      
         2        RECV                                             !2      
   4     3        ASSIGN                                                   !3, !0
         4      > JMP                                                      ->7
   5     5    >   ECHO                                                     '%F0%9F%98%90'
   4     6        ASSIGN_ADD                                    0          !3, !2
         7    >   IS_SMALLER                                       ~6      !3, !1
         8      > JMPNZ                                                    ~6, ->5
   6     9    > > RETURN                                                   null

End of function f%D0%BEr

Generated using Vulcan Logic Dumper, using php 7.3.0