$value) { if (is_dir($dir . DIRECTORY_SEPARATOR . $value)) { $result[$value] = dirToArray($dir . DIRECTORY_SEPARATOR . $value); } else { if (substr($value, -3) == '.js') { $result[] = $value; } } } return $result; } $state = false; if (isset($_GET['f'])) { $js = $_GET['d'] . '/' . $_GET['f']; $ts = substr($js, 0, -2) . 'ts'; $state = substr($_GET['f'], 0, -3); } $mobile = false; if (isset($_GET['m'])) { $mobile = true; } ?> Phaser Test Runner: <?php echo $state?>
Home View JavaScript View TypeScript

You'll learn best from these Tests by viewing the source code.
Use the arrow keys / mouse to move around most of them.

Phaser

$value) { $value2 = substr($value, 0, -3); if ($dir == 'mobile') { echo "$value2"; } else { echo "$value2"; } } } if ($state == false && $mobile == false) { ?>