3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "TT"; Var_dump(ord($a), ord($a[0]).ord($a[1]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dVkaf
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'TT'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'ord'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        INIT_FCALL                                               'ord'
          7        FETCH_DIM_R                                      ~3      !0, 0
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        INIT_FCALL                                               'ord'
         11        FETCH_DIM_R                                      ~5      !0, 1
         12        SEND_VAL                                                 ~5
         13        DO_ICALL                                         $6      
         14        CONCAT                                           ~7      $4, $6
         15        SEND_VAL                                                 ~7
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.11 ms | 1394 KiB | 17 Q