3v4l.org

run code in 300+ PHP versions simultaneously
<?php putenv('SYSTEMROOT='); echo strlen(random_bytes(1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O9SZN
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'putenv'
          1        SEND_VAL                                                 'SYSTEMROOT%3D'
          2        DO_ICALL                                                 
    6     3        INIT_FCALL                                               'random_bytes'
          4        SEND_VAL                                                 1
          5        DO_ICALL                                         $1      
          6        STRLEN                                           ~2      $1
          7        ECHO                                                     ~2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.22 ms | 1393 KiB | 17 Q