3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); class Pont { public function __construct(private float $longueur, private float $largeur) { } } $towerBridge = new Pont(286.0, 62.0); var_dump($towerBridge);

preferences:
67.55 ms | 404 KiB | 5 Q