3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(strcmp('a','b'))print 'alala'; if(strcmp('a','a'))print 'ololo'; if(strcmp(array(),'b'))print 'azaza';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 12
Branch analysis from position: 6
filename:       /in/tDOO1
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strcmp'
          1        SEND_VAL                                                 'a'
          2        SEND_VAL                                                 'b'
          3        DO_ICALL                                         $0      
          4      > JMPZ                                                     $0, ->6
          5    >   ECHO                                                     'alala'
    3     6    >   INIT_FCALL                                               'strcmp'
          7        SEND_VAL                                                 'a'
          8        SEND_VAL                                                 'a'
          9        DO_ICALL                                         $1      
         10      > JMPZ                                                     $1, ->12
         11    >   ECHO                                                     'ololo'
    4    12    >   INIT_FCALL                                               'strcmp'
         13        SEND_VAL                                                 <array>
         14        SEND_VAL                                                 'b'
         15        DO_ICALL                                         $2      
         16      > JMPZ                                                     $2, ->18
         17    >   ECHO                                                     'azaza'
         18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.09 ms | 1386 KiB | 15 Q