3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = random_int(0, 100); // $number = (string) random_int(0, 100); var_dump('<html><body>Lucky number: '.$number.'</body></html>');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7tSBK
function name:  (null)
number of ops:  11
compiled vars:  !0 = $number
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'random_int'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 100
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    6     5        INIT_FCALL                                               'var_dump'
          6        CONCAT                                           ~3      '%3Chtml%3E%3Cbody%3ELucky+number%3A+', !0
          7        CONCAT                                           ~4      ~3, '%3C%2Fbody%3E%3C%2Fhtml%3E'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.12 ms | 999 KiB | 15 Q