2 <<__EntryPoint
>> function main(): void
{
3 // Note: SWC requires zlib
4 ($dir = opendir(dirname(__FILE__
))) ||
die('cannot open directory: '.dirname(__FILE__
));
7 while (($file = readdir($dir)) !== FALSE) {
8 if (preg_match('/^test.+pix\./',$file) && $file != "test13pix.swf") {
15 foreach($files as $file) {
16 $result[$file] = getimagesize(dirname(__FILE__
)."/$file", inout
$info);