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.0070.06018.81
5.4.260.0130.05318.88
5.4.250.0200.06018.96
5.4.240.0170.06718.81
5.4.230.0100.06718.99
5.4.220.0130.06318.75
5.4.210.0230.05719.07
5.4.200.0130.07018.79
5.4.190.0070.05318.87
5.4.180.0230.04319.07
5.4.170.0070.07018.72
5.4.160.0130.07018.79
5.4.150.0130.05718.90
5.4.140.0130.06016.39
5.4.130.0070.07316.38
5.4.120.0130.07716.34
5.4.110.0130.05716.45
5.4.100.0030.05316.36
5.4.90.0000.06016.34
5.4.80.0200.05716.35
5.4.70.0170.06016.45
5.4.60.0030.05016.52
5.4.50.0130.06316.50
5.4.40.0100.05016.57
5.4.30.0100.06016.32
5.4.20.0100.05316.41
5.4.10.0070.05316.56
5.4.00.0170.05715.80
5.3.280.0130.05014.66
5.3.270.0170.06314.59
5.3.260.0100.07714.69
5.3.250.0200.06314.71
5.3.240.0030.06014.82
5.3.230.0030.05714.82
5.3.220.0130.07314.65
5.3.210.0000.06714.64
5.3.200.0100.04714.70
5.3.190.0130.04014.47
5.3.180.0070.05314.53
5.3.170.0130.06714.58
5.3.160.0230.06314.74
5.3.150.0130.06314.64
5.3.140.0030.05314.54
5.3.130.0030.05714.61
5.3.120.0070.06014.57
5.3.110.0130.05014.72
5.3.100.0070.07014.05
5.3.90.0200.06013.98
5.3.80.0070.05714.04
5.3.70.0170.06013.85
5.3.60.0170.05714.07
5.3.50.0030.05714.04
5.3.40.0070.07014.06
5.3.30.0170.05013.88
5.3.20.0100.06313.78
5.3.10.0100.04313.73
5.3.00.0130.06013.72
5.2.170.0000.05311.07
5.2.160.0030.04311.30
5.2.150.0170.04711.30
5.2.140.0000.04711.25
5.2.130.0000.06711.11
5.2.120.0100.04311.12
5.2.110.0200.04011.00
5.2.100.0070.04011.12
5.2.90.0130.03011.00
5.2.80.0030.05011.00
5.2.70.0170.04310.97
5.2.60.0000.06010.82
5.2.50.0170.05011.03
5.2.40.0170.03710.83
5.2.30.0130.03311.00
5.2.20.0170.04711.07
5.2.10.0130.03710.92
5.2.00.0100.05010.61
5.1.60.0070.0339.88
5.1.50.0100.0279.98
5.1.40.0070.0479.87
5.1.30.0170.03310.50
5.1.20.0170.04710.44
5.1.10.0070.05010.12
5.1.00.0070.04310.13
5.0.50.0070.0378.61
5.0.40.0030.0278.65
5.0.30.0130.0538.46
5.0.20.0030.0278.43
5.0.10.0030.0378.23
5.0.00.0070.0608.07
4.4.90.0000.0236.82
4.4.80.0100.0276.82
4.4.70.0030.0306.82
4.4.60.0030.0276.82
4.4.50.0030.0206.82
4.4.40.0000.0376.82
4.4.30.0070.0276.82
4.4.20.0000.0336.82
4.4.10.0100.0236.82
4.4.00.0000.0376.82
4.3.110.0000.0276.82
4.3.100.0100.0236.82
4.3.90.0000.0336.82
4.3.80.0000.0376.82
4.3.70.0000.0306.82
4.3.60.0030.0206.82
4.3.50.0070.0276.82
4.3.40.0000.0336.82
4.3.30.0030.0236.82
4.3.20.0030.0206.82
4.3.10.0030.0206.82
4.3.00.0100.0236.34

preferences:
143.81 ms | 1394 KiB | 7 Q