PHP - Data Type

Card Puncher Data Processing

About

data type in PHP

List

Describing an unknown variable type in your IDE

When a variable is unknown to an IDE (phpStorm), by adding a phpdoc comments describing it, allows PhpStorm to discover type information and provide with a complete accurate auto completing information

Example:

/** @var Request $request */
$request = $this->get("request");

$request->







Share this page:
Follow us:
Task Runner