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($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/XVURZ
function name:  (null)
number of ops:  17
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        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $5
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !1, $4
   21     9        INIT_FCALL                                               'ucfirst'
         10        INIT_METHOD_CALL                                         !1, 'current'
         11        DO_FCALL                                      0  $9      
         12        SEND_VAR                                                 $9
         13        DO_ICALL                                         $10     
         14        ECHO                                                     $10
         15        ECHO                                                     '%0A'
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156 ms | 1386 KiB | 15 Q