3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ucfirst(explode('_', "en_us")[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eC1Tt
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ucfirst'
          1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '_'
          3        SEND_VAL                                                 'en_us'
          4        DO_ICALL                                         $0      
          5        FETCH_DIM_R                                      ~1      $0, 0
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                         $2      
          8        ECHO                                                     $2
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.78 ms | 1394 KiB | 17 Q