3v4l.org

run code in 200+ PHP versions simultaneously
<?php namespace App; use App\Repository\User as UserRepository; echo User::class . PHP_EOL; // kiírja az "App\User" stringet echo UserRepository::class . PHP_EOL; // kiírja az "App\Repository\User" stringet
Output for 7.2.0 - 7.4.2
App\User App\Repository\User