3v4l.org

run code in 300+ PHP versions simultaneously
<?php function gaga($state) { if(strcmp("fest", $state)) echo "Sehr gut Schnaggi<br>"; else echo "Ab sofort Ernährungstagebuch!!!!<br>"; } gaga('fest'); gaga('flüssig'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/80QnK
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'gaga'
          1        SEND_VAL                                                 'fest'
          2        DO_FCALL                                      0          
    9     3        INIT_FCALL                                               'gaga'
          4        SEND_VAL                                                 'fl%C3%BCssig'
          5        DO_FCALL                                      0          
   10     6      > RETURN                                                   1

Function gaga:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/80QnK
function name:  gaga
number of ops:  10
compiled vars:  !0 = $state
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'strcmp'
          2        SEND_VAL                                                 'fest'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5      > JMPZ                                                     $1, ->8
    4     6    >   ECHO                                                     'Sehr+gut+Schnaggi%3Cbr%3E'
          7      > JMP                                                      ->9
    6     8    >   ECHO                                                     'Ab+sofort+Ern%C3%A4hrungstagebuch%21%21%21%21%3Cbr%3E'
    7     9    > > RETURN                                                   null

End of function gaga

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.55 ms | 1389 KiB | 17 Q