3v4l.org

run code in 300+ PHP versions simultaneously
<?php $search_tags = array( "happy", "summer", "beach", "glasses", "umbrella", "funny", "people", "music", "rap" ); $accounts = array( "account A", "account B", "account C" ); $accounts = new InfiniteIterator(new ArrayIterator((object) $accounts)); echo ucfirst($accounts->current()), PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nDERK
function name:  (null)
number of ops:  18
compiled vars:  !0 = $search_tags, !1 = $accounts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   14     1        ASSIGN                                                   !1, <array>
   20     2        NEW                                              $4      'InfiniteIterator'
          3        NEW                                              $5      'ArrayIterator'
          4        CAST                                          8  ~6      !1
          5        SEND_VAL_EX                                              ~6
          6        DO_FCALL                                      0          
          7        SEND_VAR_NO_REF_EX                                       $5
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !1, $4
   21    10        INIT_FCALL                                               'ucfirst'
         11        INIT_METHOD_CALL                                         !1, 'current'
         12        DO_FCALL                                      0  $10     
         13        SEND_VAR                                                 $10
         14        DO_ICALL                                         $11     
         15        ECHO                                                     $11
         16        ECHO                                                     '%0A'
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.23 ms | 1394 KiB | 15 Q