3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $assoc = [ '9999999999999999999' => 'large number', '99999' => 'small number', ]; public function check() { var_dump( isset($this->assoc['9999999999999999999']), isset($this->assoc['99999']) ); } } $t = new Test; $t->check();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oYIoi
function name:  (null)
number of ops:  6
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   20     3        INIT_METHOD_CALL                                         !0, 'check'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class Test:
Function check:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oYIoi
function name:  check
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'var_dump'
   12     1        FETCH_OBJ_IS                                     ~0      'assoc'
          2        ISSET_ISEMPTY_DIM_OBJ                         0  ~1      ~0, '9999999999999999999'
          3        SEND_VAL                                                 ~1
   13     4        FETCH_OBJ_IS                                     ~2      'assoc'
          5        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      ~2, 99999
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
   15     8      > RETURN                                                   null

End of function check

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.53 ms | 1395 KiB | 15 Q