×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Fabian Constien
Added: Nov 15, 2017 4:30 PM
Views: 1
Tags: no tags
  1. // random_int() erst ab 7, also <7 eine Alternative einbinden
  2. if (version_compare(phpversion(), '7.0.0', '<')) {
  3.     require_once __DIR__ . '/classes/random_compat/lib/random.php';
  4. }