3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=5; $y=10.50; $txt="hello world"; $z=$x+$y; echo $z; print "$txt.$z"; var_dump($x); var_dump($y); var_dump($txt); var_dump($z);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RSAls
function name:  (null)
number of ops:  23
compiled vars:  !0 = $x, !1 = $y, !2 = $txt, !3 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        ASSIGN                                                   !1, 10.5
    4     2        ASSIGN                                                   !2, 'hello+world'
    5     3        ADD                                              ~7      !0, !1
          4        ASSIGN                                                   !3, ~7
    6     5        ECHO                                                     !3
    7     6        ROPE_INIT                                     3  ~10     !2
          7        ROPE_ADD                                      1  ~10     ~10, '.'
          8        ROPE_END                                      2  ~9      ~10, !3
          9        ECHO                                                     ~9
    8    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    9    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
   10    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
   11    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.07 ms | 1395 KiB | 15 Q