3v4l.org

run code in 300+ PHP versions simultaneously
<?php $characters = ["A", "a", "Φ", "φ", "1", ord("A")]; foreach ($characters as $character) { var_dump(IntlChar::tolower($character)); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 16
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/RYtXZ
function name:  (null)
number of ops:  18
compiled vars:  !0 = $characters, !1 = $character
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_ARRAY                                       ~2      'A'
          1        ADD_ARRAY_ELEMENT                                ~2      'a'
          2        ADD_ARRAY_ELEMENT                                ~2      '%CE%A6'
          3        ADD_ARRAY_ELEMENT                                ~2      '%CF%86'
          4        ADD_ARRAY_ELEMENT                                ~2      '1'
          5        ADD_ARRAY_ELEMENT                                ~2      65
          6        ASSIGN                                                   !0, ~2
    3     7      > FE_RESET_R                                       $4      !0, ->16
          8    > > FE_FETCH_R                                               $4, !1, ->16
    4     9    >   INIT_FCALL                                               'var_dump'
         10        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'tolower'
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0  $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
    3    15      > JMP                                                      ->8
         16    >   FE_FREE                                                  $4
    6    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.98 ms | 1395 KiB | 15 Q