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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.04 ms | 1394 KiB | 15 Q