<?php class A { public function A($arg) { var_dump($arg); } } class B { public function __construct($arg) { parent::__construct($arg); } } $b = new B(1);
You have javascript disabled. You will not be able to edit any code.