3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'привет'; $str2 = 'Hello'; echo $str; echo strtoupper($str); echo $str2; echo strtoupper($str2); echo $str.$str2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AWYHE
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str, !1 = $str2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D0%BF%D1%80%D0%B8%D0%B2%D0%B5%D1%82'
    4     1        ASSIGN                                                   !1, 'Hello'
    6     2        ECHO                                                     !0
    7     3        INIT_FCALL                                               'strtoupper'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
    8     7        ECHO                                                     !1
    9     8        INIT_FCALL                                               'strtoupper'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
   10    12        CONCAT                                           ~6      !0, !1
         13        ECHO                                                     ~6
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
206.01 ms | 939 KiB | 16 Q