3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'Avg. Monthly Searches (exact match only)' => '333', ]; echo gettype($array['Avg. Monthly Searches (exact match only)']); echo '<br>'; echo (int)$array['Avg. Monthly Searches (exact match only)']; echo '<br'>; echo gettype($array['Avg. Monthly Searches (exact match only)']);

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.390.0130.06318.79
5.4.380.0100.07018.66
5.4.370.0270.06718.72
5.4.360.0330.04718.64
5.4.350.0130.07318.67
5.4.340.0270.05018.79
5.4.320.0270.06318.64
5.4.310.0130.08718.72
5.4.300.0270.07018.54
5.4.290.0230.05018.59
5.4.280.0270.06318.73
5.4.270.0270.06318.46
5.4.260.0230.06018.52
5.4.250.0330.06318.52
5.4.240.0270.05018.66
5.4.230.0230.06718.69
5.4.220.0230.06318.75
5.4.210.0370.03718.53
5.4.200.0270.04316.48
5.4.190.0230.05718.52
5.4.180.0300.06018.76
5.4.170.0170.06318.67
5.4.160.0370.03718.47
5.4.150.0130.06718.44
5.4.140.0230.05016.39
5.4.130.0230.05716.34
5.4.120.0130.06316.20
5.4.110.0100.06016.22
5.4.100.0230.05716.43
5.4.90.0130.06016.22
5.4.80.0270.05016.20
5.4.70.0170.06316.18
5.4.60.0400.05016.41
5.4.50.0330.03716.15
5.4.40.0200.05316.13
5.4.30.0230.05316.17
5.4.20.0300.04316.24
5.4.10.0170.05316.14
5.4.00.0130.05715.89
5.3.290.0300.05714.61
5.3.280.0300.05714.55
5.3.270.0200.07014.51
5.3.260.0330.06714.54
5.3.250.0170.06014.59
5.3.240.0200.06014.57
5.3.230.0270.04714.53
5.3.220.0170.05714.63
5.3.210.0200.06314.60
5.3.200.0130.05714.65
5.3.190.0130.07314.48
5.3.180.0270.05314.63
5.3.170.0070.06714.52
5.3.160.0170.05714.47
5.3.150.0330.03714.64
5.3.140.0170.05314.54
5.3.130.0270.04714.55
5.3.120.0200.06314.63
5.3.110.0100.06314.50
5.3.100.0130.06014.12
5.3.90.0200.06014.02
5.3.80.0230.05313.98
5.3.70.0170.05314.00
5.3.60.0230.05713.97
5.3.50.0200.05313.91
5.3.40.0400.05713.85
5.3.30.0370.05313.88
5.3.20.0270.04013.64
5.3.10.0270.04313.61
5.3.00.0100.06313.71
5.2.170.0200.04011.18
5.2.160.0200.03311.19
5.2.150.0430.03311.16
5.2.140.0170.04011.11
5.2.130.0100.04711.00
5.2.120.0130.04311.13
5.2.110.0130.04711.14
5.2.100.0170.03711.15
5.2.90.0130.06011.07
5.2.80.0200.04011.00
5.2.70.0100.04711.10
5.2.60.0230.03711.07
5.2.50.0200.03711.14
5.2.40.0200.03310.92
5.2.30.0100.06010.92
5.2.20.0270.04010.90
5.2.10.0130.04010.91
5.2.00.0130.05310.80
5.1.60.0030.05310.01
5.1.50.0170.04010.00
5.1.40.0100.0379.99
5.1.30.0170.04710.33
5.1.20.0130.03710.37
5.1.10.0130.03310.14
5.1.00.0070.04310.17
5.0.50.0130.0278.55
5.0.40.0100.0278.45
5.0.30.0030.0478.27
5.0.20.0130.0238.21
5.0.10.0100.0238.34
5.0.00.0100.0408.21
4.4.90.0000.0276.66
4.4.80.0030.0276.66
4.4.70.0030.0276.66
4.4.60.0030.0236.66
4.4.50.0070.0236.66
4.4.40.0100.0406.66
4.4.30.0170.0176.66
4.4.20.0100.0176.66
4.4.10.0100.0176.66
4.4.00.0100.0306.66
4.3.110.0100.0206.66
4.3.100.0070.0276.66
4.3.90.0070.0206.66
4.3.80.0130.0306.66
4.3.70.0130.0136.66
4.3.60.0200.0306.66
4.3.50.0100.0236.66
4.3.40.0030.0376.66
4.3.30.0070.0276.66
4.3.20.0200.0206.66
4.3.10.0100.0236.66
4.3.00.0030.0276.54

preferences:
140.69 ms | 1394 KiB | 7 Q