PHP Code Typing Practice
60
seconds
0
WPM
100%
accuracy
function name($param) {} empty($var) array_push($arr, $val); new ClassName(); use TraitName; if ($condition) {} else {} try { } catch (Exception $e) {} switch ($value) { case: break; } $variable = value; <?php namespace App\Controllers; array_filter($arr, fn($x) => $x); array_map(fn($x) => $x, $arr); static $staticVar; public function method() {} use App\Models\User; throw new Exception(''); isset($var) parent::method(); $array = []; implements Interface is_null($var) self::method(); private $property; $_POST['field'] protected $field; print $value; class MyClass {} $this->property; foreach ($arr as $key => $val) {} extends BaseClass interface MyInterface {} ?> $_GET['param'] return $result; const CONSTANT = 'value'; trait MyTrait {} abstract class echo $variable; $array[] = $item; function name($param) {} empty($var) array_push($arr, $val); new ClassName(); use TraitName; if ($condition) {} else {} try { } catch (Exception $e) {} switch ($value) { case: break; } $variable = value; <?php namespace App\Controllers; array_filter($arr, fn($x) => $x); array_map(fn($x) => $x, $arr); static $staticVar; public function method() {} use App\Models\User; throw new Exception(''); isset($var) parent::method(); $array = [];
Click the text area and start typing to begin
Practice typing PHP code and web development