3v4l.org

run code in 300+ PHP versions simultaneously
<?php $letters = range("A", "Z"); shuffle($letters); $all = 'J' . implode("",array_slice($letters,0,5)) . '1'; echo $all;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KuZ2H
function name:  (null)
number of ops:  22
compiled vars:  !0 = $letters, !1 = $all
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 'A'
          2        SEND_VAL                                                 'Z'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        INIT_FCALL                                               'shuffle'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'implode'
          9        SEND_VAL                                                 ''
         10        INIT_FCALL                                               'array_slice'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 0
         13        SEND_VAL                                                 5
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                         $6      
         17        CONCAT                                           ~7      'J', $6
         18        CONCAT                                           ~8      ~7, '1'
         19        ASSIGN                                                   !1, ~8
    8    20        ECHO                                                     !1
    9    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.26 ms | 1000 KiB | 17 Q