3v4l.org

run code in 300+ PHP versions simultaneously
<?php $random_string = function($length) { $bag = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; $string = ''; while ($length--) { $string .= $bag[array_rand($bag)]; } }; $client_id = $random_string(2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZrLmi
function name:  (null)
number of ops:  7
compiled vars:  !0 = $random_string, !1 = $client_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FZrLmi%3A3%240'
          1        ASSIGN                                                   !0, ~2
   10     2        INIT_DYNAMIC_CALL                                        !0
          3        SEND_VAL_EX                                              2
          4        DO_FCALL                                      0  $4      
          5        ASSIGN                                                   !1, $4
          6      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FZrLmi%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/ZrLmi
function name:  {closure}
number of ops:  12
compiled vars:  !0 = $length, !1 = $bag, !2 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        ASSIGN                                                   !1, 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
    5     2        ASSIGN                                                   !2, ''
    6     3      > JMP                                                      ->9
    7     4    >   INIT_FCALL                                               'array_rand'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $5      
          7        FETCH_DIM_R                                      ~6      !1, $5
          8        ASSIGN_OP                                     8          !2, ~6
    6     9    >   POST_DEC                                         ~8      !0
         10      > JMPNZ                                                    ~8, ->4
    9    11    > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FZrLmi%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.53 ms | 1395 KiB | 15 Q