3v4l.org

run code in 500+ PHP versions simultaneously
<?php $result = in_array("application/x-font-ttf", ['application/x-font-ttf']); echo "None: $result\n"; $result = in_array("application/x-font-ttf", ['application/x-font-ttf'], false); echo "False: $result\n"; $result = in_array("application/x-font-ttf", ['application/x-font-ttf'], true); echo "True: $result\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LbXr0
function name:  (null)
number of ops:  19
compiled vars:  !0 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   IN_ARRAY                                             ~1      'application%2Fx-font-ttf', <array>
          1        ASSIGN                                                       !0, ~1
    4     2        ROPE_INIT                                         3  ~4      'None%3A++'
          3        ROPE_ADD                                          1  ~4      ~4, !0
          4        ROPE_END                                          2  ~3      ~4, '%0A'
          5        ECHO                                                         ~3
    5     6        IN_ARRAY                                             ~6      'application%2Fx-font-ttf', <array>
          7        ASSIGN                                                       !0, ~6
    6     8        ROPE_INIT                                         3  ~9      'False%3A+'
          9        ROPE_ADD                                          1  ~9      ~9, !0
         10        ROPE_END                                          2  ~8      ~9, '%0A'
         11        ECHO                                                         ~8
    7    12        IN_ARRAY                                             ~11     'application%2Fx-font-ttf', <array>
         13        ASSIGN                                                       !0, ~11
    8    14        ROPE_INIT                                         3  ~14     'True%3A++'
         15        ROPE_ADD                                          1  ~14     ~14, !0
         16        ROPE_END                                          2  ~13     ~14, '%0A'
         17        ECHO                                                         ~13
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.18 ms | 3261 KiB | 13 Q