3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.68 ms | 1394 KiB | 21 Q