3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = ["A", 1, 2, "h", "m", "E", "D"]; echo mb_convert_case( implode( array_filter( $chars, 'is_string' ) ), MB_CASE_TITLE );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KJ1Lo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $chars
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'mb_convert_case'
    6     2        INIT_FCALL                                               'implode'
    7     3        INIT_FCALL                                               'array_filter'
    8     4        SEND_VAR                                                 !0
    9     5        SEND_VAL                                                 'is_string'
    7     6        DO_ICALL                                         $2      
    9     7        SEND_VAR                                                 $2
    6     8        DO_ICALL                                         $3      
    9     9        SEND_VAR                                                 $3
   12    10        SEND_VAL                                                 2
    5    11        DO_ICALL                                         $4      
   12    12        ECHO                                                     $4
   13    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.46 ms | 1011 KiB | 16 Q