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>'; $d = "$key"; $$var = function($s = $d){ $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.06018.78
5.4.260.0100.08718.93
5.4.250.0070.05018.72
5.4.240.0100.05318.63
5.4.230.0100.07718.98
5.4.220.0070.05718.93
5.4.210.0170.05318.93
5.4.200.0130.04718.88
5.4.190.0100.05319.07
5.4.180.0130.05318.96
5.4.170.0100.06318.93
5.4.160.0130.05318.97
5.4.150.0200.04318.79
5.4.140.0130.04716.55
5.4.130.0070.07316.41
5.4.120.0030.06316.46
5.4.110.0200.03716.54
5.4.100.0070.06016.62
5.4.90.0030.05016.30
5.4.80.0100.06016.51
5.4.70.0170.04716.49
5.4.60.0030.07716.36
5.4.50.0000.07716.54
5.4.40.0130.04316.38
5.4.30.0070.05316.47
5.4.20.0030.05716.55
5.4.10.0030.05716.45
5.4.00.0100.05016.00
5.3.280.0170.05714.78
5.3.270.0070.06314.67
5.3.260.0130.05014.62
5.3.250.0130.04714.78
5.3.240.0100.05014.75
5.3.230.0130.05714.56
5.3.220.0070.06014.73
5.3.210.0100.05714.54
5.3.200.0070.05714.73
5.3.190.0030.05714.65
5.3.180.0030.05314.41
5.3.170.0000.06314.54
5.3.160.0100.04714.78
5.3.150.0100.05714.55
5.3.140.0100.04714.57
5.3.130.0130.05314.52
5.3.120.0030.05714.63
5.3.110.0130.04714.52
5.3.100.0070.05013.94
5.3.90.0130.05014.20
5.3.80.0030.05014.09
5.3.70.0000.06714.24
5.3.60.0070.07013.99
5.3.50.0100.06014.17
5.3.40.0100.05314.03
5.3.30.0100.04713.99
5.3.20.0070.05013.87
5.3.10.0130.04313.66
5.3.00.0030.05713.80
5.2.170.0070.04311.15
5.2.160.0070.03711.03
5.2.150.0070.04711.15
5.2.140.0130.04311.14
5.2.130.0030.04710.89
5.2.120.0030.06011.10
5.2.110.0070.04310.94
5.2.100.0030.04311.10
5.2.90.0130.04711.11
5.2.80.0170.04311.01
5.2.70.0030.04711.13
5.2.60.0130.05011.07
5.2.50.0130.03711.01
5.2.40.0070.04310.93
5.2.30.0100.04010.89
5.2.20.0100.03710.87
5.2.10.0070.04010.79
5.2.00.0070.05710.80
5.1.60.0100.04310.03
5.1.50.0030.0379.85
5.1.40.0100.03010.17
5.1.30.0100.04010.41
5.1.20.0070.03010.25
5.1.10.0100.03710.14
5.1.00.0130.04010.00
5.0.50.0030.0308.74
5.0.40.0070.0378.47
5.0.30.0100.0478.29
5.0.20.0030.0278.24
5.0.10.0070.0338.16
5.0.00.0030.0408.30
4.4.90.0000.0236.79
4.4.80.0000.0276.79
4.4.70.0070.0176.79
4.4.60.0070.0276.79
4.4.50.0000.0306.79
4.4.40.0030.0376.79
4.4.30.0000.0306.79
4.4.20.0070.0276.79
4.4.10.0030.0206.79
4.4.00.0070.0306.79
4.3.110.0000.0236.79
4.3.100.0000.0306.79
4.3.90.0030.0276.79
4.3.80.0000.0376.79
4.3.70.0070.0176.79
4.3.60.0100.0236.79
4.3.50.0030.0276.79
4.3.40.0000.0376.79
4.3.30.0000.0336.79
4.3.20.0070.0176.79
4.3.10.0030.0236.79
4.3.00.0100.0236.35

preferences:
156.81 ms | 1398 KiB | 7 Q