3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = new SplFixedArray(5); if($array->offsetExists(-10) === false) { echo 'PASS'; } ?> <?php
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/Ru9g4
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'SplFixedArray'
          1        SEND_VAL_EX                                              5
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    3     4        INIT_METHOD_CALL                                         !0, 'offsetExists'
          5        SEND_VAL_EX                                              -10
          6        DO_FCALL                                      0  $4      
          7        TYPE_CHECK                                    4          $4
          8      > JMPZ                                                     ~5, ->10
    4     9    >   ECHO                                                     'PASS'
    7    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.8 ms | 1392 KiB | 13 Q