3v4l.org

run code in 300+ PHP versions simultaneously
<?php $long=20; $caractères = 'azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN0123456789éèùçà?&€@+-_()=:.*'; $string = ''; for($i=0 ; $i<$long ; $i++) $string .= substr($caractères, (mt_rand() % strlen($caractères)), 1); echo $string; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 5
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 5
Branch analysis from position: 18
Branch analysis from position: 5
filename:       /in/WvgAH
function name:  (null)
number of ops:  20
compiled vars:  !0 = $long, !1 = $caractères, !2 = $string, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 20
    3     1        ASSIGN                                                   !1, 'azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN0123456789%C3%A9%C3%A8%C3%B9%C3%A7%C3%A0%3F%26%E2%82%AC%40%2B-_%28%29%3D%3A.%2A'
    4     2        ASSIGN                                                   !2, ''
    5     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->16
    6     5    >   INIT_FCALL                                               'substr'
          6        SEND_VAR                                                 !1
          7        INIT_FCALL                                               'mt_rand'
          8        DO_ICALL                                         $8      
          9        STRLEN                                           ~9      !1
         10        MOD                                              ~10     $8, ~9
         11        SEND_VAL                                                 ~10
         12        SEND_VAL                                                 1
         13        DO_ICALL                                         $11     
         14        ASSIGN_OP                                     8          !2, $11
    5    15        PRE_INC                                                  !3
         16    >   IS_SMALLER                                               !3, !0
         17      > JMPNZ                                                    ~14, ->5
    7    18    >   ECHO                                                     !2
    8    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.91 ms | 1386 KiB | 17 Q