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.0330.06318.98
5.4.260.0370.06019.16
5.4.250.0130.05019.06
5.4.240.0430.03319.21
5.4.230.0370.03718.98
5.4.220.0200.05019.07
5.4.210.0470.03718.94
5.4.200.0270.04019.07
5.4.190.0330.07019.21
5.4.180.0330.03019.18
5.4.170.0300.07319.15
5.4.160.0300.06319.13
5.4.150.0230.06019.14
5.4.140.0230.07316.50
5.4.130.0330.06316.46
5.4.120.0270.05316.53
5.4.110.0330.03716.36
5.4.100.0270.06316.35
5.4.90.0370.06316.19
5.4.80.0230.06016.26
5.4.70.0330.05716.44
5.4.60.0270.05716.49
5.4.50.0300.04016.52
5.4.40.0270.06716.53
5.4.30.0200.04716.55
5.4.20.0270.07016.51
5.4.10.0330.05016.51
5.4.00.0270.05716.12
5.3.280.0330.06714.61
5.3.270.0170.04714.65
5.3.260.0370.06314.72
5.3.250.0300.06314.66
5.3.240.0230.06014.59
5.3.230.0300.06714.51
5.3.220.0370.06014.56
5.3.210.0270.07314.48
5.3.200.0270.07014.72
5.3.190.0230.05014.57
5.3.180.0300.06314.73
5.3.170.0330.06314.79
5.3.160.0200.04714.54
5.3.150.0230.03714.64
5.3.140.0370.03014.60
5.3.130.0200.05014.56
5.3.120.0330.07014.56
5.3.110.0230.07314.55
5.3.100.0270.05014.28
5.3.90.0300.06714.14
5.3.80.0300.07013.95
5.3.70.0270.04713.93
5.3.60.0300.06714.12
5.3.50.0230.07713.86
5.3.40.0230.04313.87
5.3.30.0330.06014.13
5.3.20.0200.06713.60
5.3.10.0300.06013.71
5.3.00.0300.07013.76
5.2.170.0170.05312.39
5.2.160.0300.05312.39
5.2.150.0200.05312.39
5.2.140.0230.06312.39
5.2.130.0200.05312.39
5.2.120.0200.05712.39
5.2.110.0170.05012.39
5.2.100.0300.05012.39
5.2.90.0300.05012.39
5.2.80.0230.05712.39
5.2.70.0270.05712.39
5.2.60.0270.05012.39
5.2.50.0230.06312.39
5.2.40.0200.05312.39
5.2.30.0200.04312.39
5.2.20.0230.04312.39
5.2.10.0170.03312.39
5.2.00.0170.06012.39
5.1.60.0270.04312.39
5.1.50.0170.04712.39
5.1.40.0100.05712.39
5.1.30.0230.05012.39
5.1.20.0200.04712.39
5.1.10.0200.04012.39
5.1.00.0200.04312.39
5.0.50.0070.02312.39
5.0.40.0030.02312.39
5.0.30.0170.04012.39
5.0.20.0170.03312.39
5.0.10.0170.03012.39
5.0.00.0100.06312.39
4.4.90.0100.02712.39
4.4.80.0130.03312.39
4.4.70.0070.02712.39
4.4.60.0100.03312.39
4.4.50.0100.03012.39
4.4.40.0070.02712.39
4.4.30.0100.02312.39
4.4.20.0070.03312.39
4.4.10.0030.02312.39
4.4.00.0070.02712.39
4.3.110.0100.03712.39
4.3.100.0070.02312.39
4.3.90.0100.02712.39
4.3.80.0100.05012.39
4.3.70.0100.03312.39
4.3.60.0070.01712.39
4.3.50.0100.01312.39
4.3.40.0100.02312.39
4.3.30.0030.03712.39
4.3.20.0030.04012.39
4.3.10.0070.02712.39
4.3.00.0070.02712.39

preferences:
140.74 ms | 1394 KiB | 7 Q