3v4l.org

run code in 500+ 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:  12
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'
    7     2        INIT_FCALL                                                   'array_filter'
    8     3        SEND_VAR                                                     !0
    9     4        SEND_VAL                                                     'is_string'
    7     5        DO_ICALL                                             $2      
    6     6        FRAMELESS_ICALL_1                implode             ~3      $2
    9     7        SEND_VAL                                                     ~3
   12     8        SEND_VAL                                                     2
    5     9        DO_ICALL                                             $4      
   12    10        ECHO                                                         $4
   13    11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.27 ms | 1908 KiB | 17 Q