3v4l.org

run code in 300+ PHP versions simultaneously
<?php class PHPFI { public $a = 'A PROPERTY'; protected $b = 'B PROPERTY'; private $c = 'C PROPERTY'; } var_dump((array) new PHPFI); // "a" => "A PROPERTY" // "\0*\b" => "B PROPERTY" // "\0PHPFI\0c" => "C PROPERTY" ?>

preferences:
28.62 ms | 404 KiB | 5 Q