3v4l.org

run code in 300+ PHP versions simultaneously
<?php $product = array('material', 'britelki', 'chaschka', 'kostochki', 'vkladish', 'zastejka'); foreach($product as $key){ $var = "show_the_product_".$key; echo $key.'<br>'; $key = $key."_"; $$var = function($s = $key){ $a = "gc_".$s; var_dump($a); }; } $show_the_product_material();

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).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.270.0130.04719.00
5.4.260.0130.06018.96
5.4.250.0200.04718.79
5.4.240.0130.07719.06
5.4.230.0170.07018.78
5.4.220.0170.05318.92
5.4.210.0070.07018.96
5.4.200.0100.05018.92
5.4.190.0170.05018.71
5.4.180.0130.07318.99
5.4.170.0200.05318.90
5.4.160.0100.07718.93
5.4.150.0030.06318.89
5.4.140.0000.06716.43
5.4.130.0170.06016.54
5.4.120.0100.07016.42
5.4.110.0000.08316.38
5.4.100.0170.05316.62
5.4.90.0170.05316.46
5.4.80.0100.05016.46
5.4.70.0070.06316.57
5.4.60.0200.05316.38
5.4.50.0230.06016.47
5.4.40.0100.05716.57
5.4.30.0200.04316.35
5.4.20.0200.06016.44
5.4.10.0030.05316.43
5.4.00.0130.05315.93
5.3.280.0100.05014.68
5.3.270.0070.08714.74
5.3.260.0070.05714.44
5.3.250.0030.06314.58
5.3.240.0170.06014.78
5.3.230.0230.05714.43
5.3.220.0130.06014.55
5.3.210.0030.07314.59
5.3.200.0030.06714.65
5.3.190.0130.05314.65
5.3.180.0100.08014.55
5.3.170.0070.05714.65
5.3.160.0200.04014.64
5.3.150.0100.05314.63
5.3.140.0070.07314.69
5.3.130.0070.06714.63
5.3.120.0130.05714.68
5.3.110.0130.06314.38
5.3.100.0100.05314.20
5.3.90.0130.05014.11
5.3.80.0000.05713.99
5.3.70.0100.06714.24
5.3.60.0000.08014.09
5.3.50.0100.06314.03
5.3.40.0030.05314.04
5.3.30.0070.05313.98
5.3.20.0100.05313.52
5.3.10.0030.05013.64
5.3.00.0070.05713.70
5.2.170.0030.04711.16
5.2.160.0070.04011.08
5.2.150.0000.04711.15
5.2.140.0000.04311.13
5.2.130.0130.03311.10
5.2.120.0030.06011.12
5.2.110.0100.04310.93
5.2.100.0100.05011.04
5.2.90.0000.04311.02
5.2.80.0070.05011.11
5.2.70.0030.04710.86
5.2.60.0070.04011.07
5.2.50.0030.04311.04
5.2.40.0100.04011.00
5.2.30.0030.04010.81
5.2.20.0030.04310.97
5.2.10.0100.04310.93
5.2.00.0030.04010.88
5.1.60.0030.03310.19
5.1.50.0070.03310.02
5.1.40.0070.0339.91
5.1.30.0070.03710.23
5.1.20.0070.03710.24
5.1.10.0070.03310.21
5.1.00.0030.04710.22
5.0.50.0070.0278.57
5.0.40.0030.0278.43
5.0.30.0030.0478.11
5.0.20.0100.0308.25
5.0.10.0130.0238.00
5.0.00.0000.0578.11
4.4.90.0030.0235.82
4.4.80.0030.0305.83
4.4.70.0000.0275.80
4.4.60.0000.0235.80
4.4.50.0030.0205.80
4.4.40.0030.0335.80
4.4.30.0070.0175.79
4.4.20.0070.0305.85
4.4.10.0030.0306.26
4.4.00.0030.0336.26
4.3.110.0030.0236.26
4.3.100.0100.0136.26
4.3.90.0030.0306.26
4.3.80.0030.0406.26
4.3.70.0000.0206.26
4.3.60.0000.0276.26
4.3.50.0070.0176.26
4.3.40.0030.0406.26
4.3.30.0000.0306.26
4.3.20.0000.0276.26
4.3.10.0000.0306.26
4.3.00.0030.0206.63

preferences:
140.43 ms | 1394 KiB | 7 Q