3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Q extends SplQueue { } $q = new Q(); $q->enqueue('first'); $q->enqueue('second'); $q->enqueue('third'); echo $q->bottom(); //var_dump($q);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TfccV
function name:  (null)
number of ops:  16
compiled vars:  !0 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $1      'Q'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    9     3        INIT_METHOD_CALL                                         !0, 'enqueue'
          4        SEND_VAL_EX                                              'first'
          5        DO_FCALL                                      0          
   10     6        INIT_METHOD_CALL                                         !0, 'enqueue'
          7        SEND_VAL_EX                                              'second'
          8        DO_FCALL                                      0          
   11     9        INIT_METHOD_CALL                                         !0, 'enqueue'
         10        SEND_VAL_EX                                              'third'
         11        DO_FCALL                                      0          
   12    12        INIT_METHOD_CALL                                         !0, 'bottom'
         13        DO_FCALL                                      0  $7      
         14        ECHO                                                     $7
   13    15      > RETURN                                                   1

Class Q: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166 ms | 1393 KiB | 13 Q