3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class many_link_def { public $geschwindigkeit = 5; public $schild = 3; public $leben = 10; public $name; function __construct($beze) { // $this->name = $neuer_name; echo '<div class="input_default_container" style="margin: 10px 0px 10px 0px;" id="''">' .'<div class="inp_def_cont_inside" style="width: 100%;">' .'<input type="text" style="width: 70%; height: 12px; border: none;" class="defaultclear" name="" id="" value="'.$beze.':'; } public function nextText() { echo 'da'; } } $field = new many_link_def('Ausgabe 1'); ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
5.4.290.0120.05512.51
5.4.280.0100.05212.41
5.4.270.0120.06912.41
5.4.260.0120.06312.41
5.4.250.0090.05912.41
5.4.240.0100.05612.41
5.4.230.0120.04912.40
5.4.220.0110.07512.40
5.4.210.0160.09812.40
5.4.200.0090.06712.40
5.4.190.0280.09712.40
5.4.180.0100.06912.40
5.4.170.0110.06112.41
5.4.160.0190.08312.40
5.4.150.0140.07812.39
5.4.140.0360.05912.09
5.4.130.0080.06912.07
5.4.120.0070.05312.04
5.4.110.0100.07012.03
5.4.100.0120.06112.03
5.4.90.0140.05812.03
5.4.80.0100.07312.03
5.4.70.0170.09312.02
5.4.60.0120.07112.03
5.4.50.0150.07112.03
5.4.40.0160.09112.02
5.4.30.0080.04912.01
5.4.20.0080.05312.01
5.4.10.0090.05312.01
5.4.00.0140.07811.50
5.3.280.0110.05612.71
5.3.270.0170.11612.72
5.3.260.0100.06512.72
5.3.250.0210.07212.72
5.3.240.0100.05912.72
5.3.230.0180.09412.70
5.3.220.0330.13712.68
5.3.210.0170.08812.68
5.3.200.0130.07412.68
5.3.190.0130.06312.68
5.3.180.0100.08712.68
5.3.170.0140.08212.67
5.3.160.0100.08812.68
5.3.150.0310.10112.68
5.3.140.0100.06712.66
5.3.130.0200.07712.66
5.3.120.0180.08912.66
5.3.110.0170.06212.66
5.3.100.0230.07912.13
5.3.90.0160.10212.11
5.3.80.0150.06212.09
5.3.70.0160.05612.09
5.3.60.0080.05812.08
5.3.50.0230.07212.02
5.3.40.0170.07912.02
5.3.30.0110.05111.98
5.3.20.0120.06911.77
5.3.10.0050.05511.73
5.3.00.0150.09311.72