3v4l.org

run code in 300+ PHP versions simultaneously
<?php $A = array('X', 'Y','Z'); $B = 'X'; $C = array('Y', 'Z'); if(in_array($C, $A)){ echo 'TRUEが返ります。'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/fQcCo
function name:  (null)
number of ops:  10
compiled vars:  !0 = $A, !1 = $B, !2 = $C
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 'X'
    4     2        ASSIGN                                                   !2, <array>
    5     3        INIT_FCALL                                               'in_array'
          4        SEND_VAR                                                 !2
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $6      
          7      > JMPZ                                                     $6, ->9
    6     8    >   ECHO                                                     'TRUE%E3%81%8C%E8%BF%94%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82'
    7     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.6 ms | 1385 KiB | 15 Q