3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num1 = rand(1,5); echo $num1; $num2 = rand(1,5); echo $num2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CqcbT
function name:  (null)
number of ops:  13
compiled vars:  !0 = $num1, !1 = $num2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'rand'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 5
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        ECHO                                                     !0
    4     6        INIT_FCALL                                               'rand'
          7        SEND_VAL                                                 1
          8        SEND_VAL                                                 5
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
    5    11        ECHO                                                     !1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.67 ms | 1394 KiB | 15 Q