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 = (string)$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.0230.04319.05
5.4.260.0230.07018.96
5.4.250.0230.05019.09
5.4.240.0300.05319.19
5.4.230.0200.04019.07
5.4.220.0200.03718.84
5.4.210.0230.07318.94
5.4.200.0200.05019.30
5.4.190.0230.04319.11
5.4.180.0300.07018.86
5.4.170.0200.05018.99
5.4.160.0200.05719.12
5.4.150.0300.04718.82
5.4.140.0270.05016.49
5.4.130.0270.04316.32
5.4.120.0300.06316.50
5.4.110.0300.06316.41
5.4.100.0130.04716.45
5.4.90.0330.06316.35
5.4.80.0270.07016.44
5.4.70.0230.06716.50
5.4.60.0330.02716.21
5.4.50.0300.05016.38
5.4.40.0200.04016.44
5.4.30.0200.04016.25
5.4.20.0430.03016.51
5.4.10.0270.04316.32
5.4.00.0300.06315.75
5.3.280.0200.07014.60
5.3.270.0130.04714.61
5.3.260.0230.05014.51
5.3.250.0200.08014.52
5.3.240.0330.04014.70
5.3.230.0300.06014.61
5.3.220.0300.06314.53
5.3.210.0300.06714.48
5.3.200.0330.04314.48
5.3.190.0200.07014.71
5.3.180.0270.04314.64
5.3.170.0330.06314.79
5.3.160.0200.05014.47
5.3.150.0230.04714.64
5.3.140.0270.06714.48
5.3.130.0270.07314.55
5.3.120.0330.06314.51
5.3.110.0270.04714.48
5.3.100.0200.04014.11
5.3.90.0330.06714.07
5.3.80.0330.04714.08
5.3.70.0370.06013.95
5.3.60.0370.06014.01
5.3.50.0300.04014.02
5.3.40.0230.07014.04
5.3.30.0300.04014.00
5.3.20.0200.03713.64
5.3.10.0230.03313.73
5.3.00.0300.06713.62
5.2.170.0270.05713.28
5.2.160.0170.06013.28
5.2.150.0300.05313.28
5.2.140.0170.06313.28
5.2.130.0230.05313.28
5.2.120.0230.03313.28
5.2.110.0200.06313.28
5.2.100.0200.02713.28
5.2.90.0270.05313.28
5.2.80.0230.05713.28
5.2.70.0230.04713.28
5.2.60.0230.03313.28
5.2.50.0200.03013.28
5.2.40.0130.03013.28
5.2.30.0200.04713.28
5.2.20.0270.04013.28
5.2.10.0170.03313.28
5.2.00.0130.05713.28
5.1.60.0200.03713.28
5.1.50.0170.04713.28
5.1.40.0170.03313.28
5.1.30.0130.02713.28
5.1.20.0130.06013.28
5.1.10.0200.03013.28
5.1.00.0230.02313.28
5.0.50.0100.04013.28
5.0.40.0100.02013.28
5.0.30.0100.03713.28
5.0.20.0070.03713.28
5.0.10.0170.03713.28
5.0.00.0100.03713.28
4.4.90.0100.01313.28
4.4.80.0070.03013.28
4.4.70.0070.01713.28
4.4.60.0070.03313.28
4.4.50.0030.02013.28
4.4.40.0100.02313.28
4.4.30.0100.03313.28
4.4.20.0170.02713.28
4.4.10.0170.01713.28
4.4.00.0170.04013.28
4.3.110.0100.02013.28
4.3.100.0130.03313.28
4.3.90.0070.03313.28
4.3.80.0100.02713.28
4.3.70.0030.02013.28
4.3.60.0070.02713.28
4.3.50.0070.01713.28
4.3.40.0100.02013.28
4.3.30.0000.02013.28
4.3.20.0000.02013.28
4.3.10.0070.01313.28
4.3.00.0030.01313.28

preferences:
140.6 ms | 1386 KiB | 7 Q