3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = '1 tyle street glasgow'; function mb_ucwords($str) { return mb_convert_case($str, MB_CASE_TITLE, 'UTF-8'); } print_r(mb_ucwords($name)); echo mb_encode_numericentity ($name, array (0x0, 0xffff, 0, 0xffff), 'UTF-8');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qaXZi
function name:  (null)
number of ops:  14
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1+tyle+street+glasgow'
    9     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'mb_ucwords'
          3        SEND_VAR                                                 !0
          4        DO_FCALL                                      0  $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
   10     7        INIT_FCALL                                               'mb_encode_numericentity'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 <array>
         10        SEND_VAL                                                 'UTF-8'
         11        DO_ICALL                                         $4      
         12        ECHO                                                     $4
         13      > RETURN                                                   1

Function mb_ucwords:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qaXZi
function name:  mb_ucwords
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        INIT_FCALL                                               'mb_convert_case'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 2
          4        SEND_VAL                                                 'UTF-8'
          5        DO_ICALL                                         $1      
          6      > RETURN                                                   $1
    7     7*     > RETURN                                                   null

End of function mb_ucwords

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
277.72 ms | 1009 KiB | 17 Q