3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.39 ms | 1394 KiB | 15 Q