3v4l.org

run code in 300+ PHP versions simultaneously
<?php function aa($x, $y, $z) { if ($y != $z && $x == $y && $x == $z) { return "Success!"; } return "FAIL!"; } echo aa(1,'1','01'); echo '1' == 1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jgQvL
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'aa'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 '1'
          3        SEND_VAL                                                 '01'
          4        DO_FCALL                                      0  $0      
          5        ECHO                                                     $0
    9     6        ECHO                                                     <true>
          7      > RETURN                                                   1

Function aa:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/jgQvL
function name:  aa
number of ops:  14
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    3     3        IS_NOT_EQUAL                                     ~3      !1, !2
          4      > JMPZ_EX                                          ~3      ~3, ->7
          5    >   IS_EQUAL                                         ~4      !0, !1
          6        BOOL                                             ~3      ~4
          7    > > JMPZ_EX                                          ~3      ~3, ->10
          8    >   IS_EQUAL                                         ~5      !0, !2
          9        BOOL                                             ~3      ~5
         10    > > JMPZ                                                     ~3, ->12
    4    11    > > RETURN                                                   'Success%21'
    6    12    > > RETURN                                                   'FAIL%21'
    7    13*     > RETURN                                                   null

End of function aa

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.37 ms | 1389 KiB | 14 Q