3v4l.org

run code in 300+ PHP versions simultaneously
<?php function helloworldcode() { $l1=('He'./*HE HE*/'llo w'./*or HI (bad style to write 'low')*/'or'./*or AND*/'ld'/*<- bug no meaning*/); for($lI=$ll=0;$ll>=$lI;$ll++&&$lI++//$II+* ){z($l1[$ll%=4]);/*$II+=$lI<<$ll*///$II++ if($lI!=($ll%true)+2);else break;}z('!');z("\x21\x0a"); }function z($l1='$?\"'){printf("%s",$l1);}; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Lf1M8
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   1

Function helloworldcode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 4
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 15
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 46) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 4
Branch analysis from position: 22
Branch analysis from position: 4
Branch analysis from position: 20
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
filename:       /in/Lf1M8
function name:  helloworldcode
number of ops:  29
compiled vars:  !0 = $l1, !1 = $lI, !2 = $ll
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hello+world'
    4     1        ASSIGN                                           ~4      !2, 0
          2        ASSIGN                                                   !1, ~4
          3      > JMP                                                      ->20
    5     4    >   INIT_FCALL_BY_NAME                                       'z'
          5        CHECK_FUNC_ARG                                           
          6        ASSIGN_OP                                     5  ~6      !2, 4
          7        FETCH_DIM_FUNC_ARG                               $7      !0, ~6
          8        SEND_FUNC_ARG                                            $7
          9        DO_FCALL                                      0          
    6    10        MOD                                              ~9      !2, <true>
         11        ADD                                              ~10     ~9, 2
         12        IS_NOT_EQUAL                                             !1, ~10
         13      > JMPZ                                                     ~11, ->15
         14    > > JMP                                                      ->16
         15    > > JMP                                                      ->22
    4    16    >   POST_INC                                         ~12     !2
         17      > JMPZ_EX                                          ~12     ~12, ->20
         18    >   POST_INC                                         ~13     !1
         19        BOOL                                             ~12     ~13
         20    >   IS_SMALLER_OR_EQUAL                                      !1, !2
         21      > JMPNZ                                                    ~14, ->4
    6    22    >   INIT_FCALL_BY_NAME                                       'z'
         23        SEND_VAL_EX                                              '%21'
         24        DO_FCALL                                      0          
         25        INIT_FCALL_BY_NAME                                       'z'
         26        SEND_VAL_EX                                              '%21%0A'
         27        DO_FCALL                                      0          
    7    28      > RETURN                                                   null

End of function helloworldcode

Function z:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Lf1M8
function name:  z
number of ops:  6
compiled vars:  !0 = $l1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV_INIT                                        !0      '%24%3F%5C%22'
          1        INIT_FCALL                                               'printf'
          2        SEND_VAL                                                 '%25s'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
          5      > RETURN                                                   null

End of function z

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.05 ms | 1400 KiB | 15 Q