3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B32 { private static $b32_chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567'; public static function construct() { var_dump(self::$b32_chars[mt_rand(0, 31)]); } } B32::construct();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tflp8
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_STATIC_METHOD_CALL                                  'B32', 'construct'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class B32:
Function construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tflp8
function name:  construct
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'mt_rand'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 31
          4        DO_ICALL                                         $1      
          5        FETCH_STATIC_PROP_R          global lock         ~0      'b32_chars'
          6        FETCH_DIM_R                                      ~2      ~0, $1
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
    9     9      > RETURN                                                   null

End of function construct

End of class B32.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.93 ms | 1459 KiB | 15 Q