3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
203.86 ms | 2598 KiB | 15 Q