3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr = [ 'lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur', 'adipiscing', 'elit', ]; $randString = shuffle($arr); $result = implode(' ', $arr); echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gr73W
function name:  (null)
number of ops:  9
compiled vars:  !0 = $arr, !1 = $randString, !2 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   14     1        INIT_FCALL                                                   'shuffle'
          2        SEND_REF                                                     !0
          3        DO_ICALL                                             $4      
          4        ASSIGN                                                       !1, $4
   15     5        FRAMELESS_ICALL_2                implode             ~6      '+', !0
          6        ASSIGN                                                       !2, ~6
   17     7        ECHO                                                         !2
   18     8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.17 ms | 1265 KiB | 14 Q