3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Book { public $pages; public function __construct(Page ...$pages) { $this->pages = $pages; } } $book = new Book(); var_dump($book->pages);
based on AcdRb
Output for 5.6.38 - 7.3.0rc3
array(0) { }