3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '24l95'; echo "Original String" . $str; $upperStr = strtoupper($str); echo "\n Upper Cased String: ".$upperStr;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oM4XM
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $upperStr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '24l95'
    3     1        CONCAT                                           ~3      'Original+String', !0
          2        ECHO                                                     ~3
    4     3        INIT_FCALL                                               'strtoupper'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    5     7        CONCAT                                           ~6      '%0A+Upper+Cased+String%3A+', !1
          8        ECHO                                                     ~6
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.79 ms | 1079 KiB | 14 Q