3v4l.org

run code in 300+ PHP versions simultaneously
<?php class cp2_2018_ganjil { protected $alas; protected $tinggi; public function set ($a,$b) { $this->alas=$alas; $this->miring=$miring; echo $this->alas."".$this->miring; } } class subcp2_2018_ganjil extends cp2_2018_ganjil { protected $miring; protected function FunctionName($value=") { $miring = echo } } ?>
Output for 7.1.0 - 7.1.23, 7.2.0 - 7.2.11
Parse error: syntax error, unexpected end of file in /in/cRuv6 on line 23
Process exited with code 255.
Output for 5.6.38
Parse error: syntax error, unexpected '"' in /in/cRuv6 on line 15
Process exited with code 255.

preferences:
180.52 ms | 1386 KiB | 44 Q