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>'; $$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.0000.07019.07
5.4.260.0030.06018.77
5.4.250.0100.07718.91
5.4.240.0100.06019.00
5.4.230.0100.04718.97
5.4.220.0030.05718.98
5.4.210.0130.04718.63
5.4.200.0070.05719.07
5.4.190.0030.06318.73
5.4.180.0070.05319.06
5.4.170.0100.07318.87
5.4.160.0100.07018.71
5.4.150.0200.05318.79
5.4.140.0030.05316.37
5.4.130.0230.05316.39
5.4.120.0170.04016.31
5.4.110.0130.05316.46
5.4.100.0200.04716.49
5.4.90.0200.05016.59
5.4.80.0230.06016.43
5.4.70.0070.05016.43
5.4.60.0030.05316.45
5.4.50.0000.05716.34
5.4.40.0100.05016.41
5.4.30.0100.06316.44
5.4.20.0100.08316.46
5.4.10.0200.05716.57
5.4.00.0170.06715.84
5.3.280.0030.09014.68
5.3.270.0100.05314.76
5.3.260.0000.06014.67
5.3.250.0070.06014.70
5.3.240.0100.05314.59
5.3.230.0030.07714.58
5.3.220.0000.06014.73
5.3.210.0100.07014.64
5.3.200.0170.06314.63
5.3.190.0030.06014.64
5.3.180.0030.05714.55
5.3.170.0030.05314.74
5.3.160.0130.06314.65
5.3.150.0070.06714.59
5.3.140.0070.05714.56
5.3.130.0170.04314.38
5.3.120.0130.04714.55
5.3.110.0000.07014.61
5.3.100.0000.08014.03
5.3.90.0100.06314.02
5.3.80.0130.06313.85
5.3.70.0030.05314.10
5.3.60.0130.05014.02
5.3.50.0070.07013.97
5.3.40.0170.04013.86
5.3.30.0000.05713.81
5.3.20.0100.04713.78
5.3.10.0130.04713.63
5.3.00.0030.05013.71
5.2.170.0100.05011.29
5.2.160.0030.04711.14
5.2.150.0070.04310.91
5.2.140.0030.04311.14
5.2.130.0000.05711.04
5.2.120.0030.04011.08
5.2.110.0000.04311.12
5.2.100.0100.04310.99
5.2.90.0070.05311.25
5.2.80.0100.05311.00
5.2.70.0070.04711.11
5.2.60.0100.04010.97
5.2.50.0070.04310.91
5.2.40.0000.04311.00
5.2.30.0030.04310.73
5.2.20.0030.05010.89
5.2.10.0100.04011.07
5.2.00.0100.05010.93
5.1.60.0000.03710.23
5.1.50.0000.0409.89
5.1.40.0030.03310.06
5.1.30.0070.03310.41
5.1.20.0030.05010.26
5.1.10.0100.03010.03
5.1.00.0100.03010.00
5.0.50.0070.0278.47
5.0.40.0030.0278.56
5.0.30.0070.0408.16
5.0.20.0030.0278.10
5.0.10.0100.0238.23
5.0.00.0100.0438.13
4.4.90.0030.0235.79
4.4.80.0000.0235.76
4.4.70.0030.0205.77
4.4.60.0000.0275.78
4.4.50.0070.0275.77
4.4.40.0000.0405.78
4.4.30.0030.0235.79
4.4.20.0000.0275.82
4.4.10.0100.0236.86
4.4.00.0030.0376.86
4.3.110.0070.0276.86
4.3.100.0030.0206.86
4.3.90.0000.0336.86
4.3.80.0000.0376.86
4.3.70.0030.0206.86
4.3.60.0030.0306.86
4.3.50.0030.0276.86
4.3.40.0000.0336.86
4.3.30.0000.0236.86
4.3.20.0070.0176.86
4.3.10.0000.0236.86
4.3.00.0170.0236.88

preferences:
141.84 ms | 1386 KiB | 7 Q