3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Man { var $Вік; var $Датанародження; var $Стать; function Vvid( $a,$b,$c ) { $this-> Вік = $a; $this-> Дата_народження = $b; $this-> Стать = $c; } } class Gayduk extends Man { var $Прізвище; var $Імя; var $По_батькові; var $Хобі; var $Улюблена_музика; function Vvid1( $a,$b,$c,$d,$e ) { $this-> Прізвище = $a; $this-> Імя = $b; $this-> По_батькові = $c; $this-> Хобі = $d; $this-> Улюблена_музика = $e; } function Vuvid() { echo "<H1 align=center>$this->Прізвище</H1>"; echo "<H1 align=center>$this->Імя</H1>"; echo "<H1 align=center>$this->По-батькові</H1>"; echo "<H1 align=center>$this->Вік</H1>"; echo "<H1 align=center>$this->Дата_народження</H1>"; echo "<H1 align=center>$this->Стать</H1>"; echo "<H1 align=center>$this->Хобі</H1>"; echo "<H1 align=center>$this->Улюблена_музика</H1>"; } } $rsg = new Gayduk; $rsg1 = new Man; $rsg1->Vvid1( "Гайдук", "Роман", "Степанович", "Настільний_теніс", "Рок" ); $RSG1->Vvid( 18,"04.05.1997","Чол." ); $RSG->Vuvid(); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined method Man::Vvid1() in /in/IlHsA:50 Stack trace: #0 {main} thrown in /in/IlHsA on line 50
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
54.53 ms | 401 KiB | 8 Q