3v4l.org

run code in 200+ PHP versions simultaneously
<?php class A extends IntlCalendar { public function __construct() {} private $a; } var_dump(new A());
based on IkZBL
Output for 5.6.0 - 5.6.38, 7.0.10 - 7.3.1
object(A)#1 (1) { ["valid"]=> bool(false) }
Output for 7.0.0 - 7.0.9

Process exited with code 139.