jit_bugs/bugs/classmap_gen.php

17 lines
231 B
PHP
Raw Normal View History

2023-12-13 21:56:42 +01:00
<?php
$f = '<?php
$vendorDir = dirname(__DIR__);
return array(
';
$v = 'a';
for ($x = 0; $x < 11_000; $x++) {
$v++;
$f .= "'$v' => \$vendorDir . '$v',\n";
}
$f .= ");\n";
file_put_contents(__DIR__.'/classmap.php', $f);