3v4l.org

run code in 300+ PHP versions simultaneously
<?php $account_array["money"] = NULL; $increase = 10; $account_array["money"] = (array_key_exists("money", $account_array)) ? $account_array["money"] + $increase : $increase; echo $account_array["money"];

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)
8.3.60.0100.01018.36
8.3.50.0130.01221.94
8.3.40.0110.00418.97
8.3.30.0070.00718.86
8.3.20.0040.00420.21
8.3.10.0000.00822.09
8.3.00.0050.00322.34
8.2.180.0140.00316.38
8.2.170.0180.00319.13
8.2.160.0000.01422.96
8.2.150.0040.01124.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00819.48
8.2.110.0090.00021.11
8.2.100.0080.00317.84
8.2.90.0000.00817.88
8.2.80.0030.00518.73
8.2.70.0060.00317.50
8.2.60.0080.00418.04
8.2.50.0030.00618.07
8.2.40.0040.00418.35
8.2.30.0040.00418.12
8.2.20.0000.00717.83
8.2.10.0030.00517.75
8.2.00.0040.00417.64
8.1.280.0070.00725.92
8.1.270.0080.00022.05
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00019.21
8.1.230.0060.00620.87
8.1.220.0030.00617.76
8.1.210.0040.00418.77
8.1.200.0070.00317.25
8.1.190.0070.00317.10
8.1.180.0080.00018.10
8.1.170.0070.00018.97
8.1.160.0000.00718.72
8.1.150.0040.00418.56
8.1.140.0070.00017.29
8.1.130.0000.00717.68
8.1.120.0000.00817.38
8.1.110.0000.00717.39
8.1.100.0040.00417.41
8.1.90.0000.00717.42
8.1.80.0000.00817.29
8.1.70.0000.00717.37
8.1.60.0030.00617.50
8.1.50.0030.00717.48
8.1.40.0000.00717.47
8.1.30.0000.00717.54
8.1.20.0050.00317.62
8.1.10.0040.00417.47
8.1.00.0000.00717.51
8.0.300.0060.00318.77
8.0.290.0060.00316.75
8.0.280.0040.00418.31
8.0.270.0030.00316.89
8.0.260.0060.00016.83
8.0.250.0000.00716.89
8.0.240.0100.00016.99
8.0.230.0090.00016.80
8.0.220.0030.00516.83
8.0.210.0040.00416.73
8.0.200.0000.00716.93
8.0.190.0030.00616.80
8.0.180.0040.00716.86
8.0.170.0030.00516.79
8.0.160.0040.00416.85
8.0.150.0000.00716.87
8.0.140.0050.00216.84
8.0.130.0000.00513.29
8.0.120.0040.00416.81
8.0.110.0000.00716.87
8.0.100.0070.00016.86
8.0.90.0030.00316.94
8.0.80.0060.00916.86
8.0.70.0000.00716.84
8.0.60.0040.00416.75
8.0.50.0070.00016.74
8.0.30.0150.00616.95
8.0.20.0110.00917.41
8.0.10.0050.00216.93
8.0.00.0110.00716.86
7.4.330.0000.00515.00
7.4.320.0040.00416.58
7.4.300.0030.00316.57
7.4.290.0080.00016.38
7.4.280.0060.00516.47
7.4.270.0040.00416.42
7.4.260.0030.00616.43
7.4.250.0000.00716.47
7.4.240.0030.00416.45
7.4.230.0030.00516.59
7.4.220.0140.00316.69
7.4.210.0070.00916.58
7.4.200.0070.00016.59
7.4.190.0000.00716.63
7.4.160.0110.00516.42
7.4.150.0000.01917.40
7.4.140.0170.00717.86
7.4.130.0080.00816.51
7.4.120.0070.00916.55
7.4.110.0150.00916.50
7.4.100.0100.00916.44
7.4.90.0130.00316.48
7.4.80.0140.00319.39
7.4.70.0030.01316.53
7.4.60.0090.00916.48
7.4.50.0000.00816.68
7.4.40.0060.00922.77
7.4.30.0070.01016.59
7.4.10.0050.01214.91
7.4.00.0070.00814.83
7.3.330.0000.00513.01
7.3.320.0060.00013.00
7.3.310.0000.00716.18
7.3.300.0000.00716.16
7.3.290.0040.01116.33
7.3.280.0060.01116.33
7.3.270.0090.00917.40
7.3.260.0070.01016.38
7.3.250.0130.00316.38
7.3.240.0130.00316.38
7.3.230.0100.00616.39
7.3.210.0150.00016.65
7.3.200.0070.01019.39
7.3.190.0070.01016.57
7.3.180.0030.01316.57
7.3.170.0090.00616.55
7.3.160.0110.00616.30
7.3.130.0110.00714.77
7.3.120.0050.01214.99
7.3.110.0120.00714.99
7.3.100.0050.00914.98
7.3.90.0030.00915.00
7.3.80.0060.00714.77
7.3.70.0080.00614.99
7.3.60.0090.00614.90
7.3.50.0050.01114.86
7.3.40.0070.00714.82
7.3.30.0070.00914.88
7.3.20.0080.00616.11
7.3.10.0050.00916.31
7.3.00.0070.00916.26
7.2.330.0070.01016.21
7.2.320.0130.01016.65
7.2.310.0060.01616.71
7.2.300.0040.01216.73
7.2.290.0060.01216.51
7.2.260.0100.01014.86
7.2.250.0090.00715.11
7.2.240.0030.01314.98
7.2.230.0040.01114.93
7.2.220.0070.00615.02
7.2.210.0060.00714.94
7.2.200.0030.00815.01
7.2.190.0030.01115.13
7.2.180.0080.00614.92
7.2.170.0080.00615.10
7.2.160.0060.00614.85
7.2.150.0100.00516.31
7.2.140.0040.01016.33
7.2.130.0080.00716.40
7.2.120.0080.00716.25
7.2.110.0080.01116.39
7.2.100.0070.00816.30
7.2.90.0040.00916.49
7.2.80.0050.01016.26
7.2.70.0090.00816.36
7.2.60.0100.00616.38
7.2.50.0080.00916.28
7.2.40.0080.01116.35
7.2.30.0110.00616.33
7.2.20.0130.00516.33
7.2.10.0050.01316.46
7.2.00.0090.00616.38
7.1.330.0080.00715.85
7.1.320.0000.01115.84
7.1.310.0050.00715.81
7.1.300.0060.00515.76
7.1.290.0090.00315.70
7.1.280.0070.00615.16
7.1.270.0040.00715.17
7.1.260.0060.00915.42
7.1.250.0060.00515.22
7.1.240.0070.01115.09
7.1.230.0130.00415.04
7.1.220.0120.00514.98
7.1.210.0090.00715.15
7.1.200.0050.00815.00
7.1.190.0140.00514.82
7.1.180.0080.00814.92
7.1.170.0090.00814.99
7.1.160.0070.00914.89
7.1.150.0140.00614.95
7.1.140.0060.00814.90
7.1.130.0080.00815.07
7.1.120.0080.00715.01
7.1.110.0070.01114.88
7.1.100.0070.00815.66
7.1.90.0220.01015.07
7.1.80.0070.00914.94
7.1.70.0100.00815.62
7.1.60.0130.00516.07
7.1.50.0110.00815.47
7.1.40.0080.00815.11
7.1.30.0100.00214.99
7.1.20.0120.00615.00
7.1.10.0080.01014.93
7.1.00.0090.02416.90
7.0.330.0150.00013.29
7.0.320.1460.00713.80
7.0.310.0210.00813.66
7.0.300.0180.01313.59
7.0.290.0140.01713.37
7.0.280.0180.00613.73
7.0.270.0250.00713.67
7.0.260.0260.00613.24
7.0.250.0210.00913.64
7.0.240.0270.00813.43
7.0.230.0190.01113.55
7.0.220.0120.01613.69
7.0.210.0140.01513.67
7.0.200.0110.00715.09
7.0.190.0160.00713.46
7.0.180.0140.01213.34
7.0.170.0150.00513.48
7.0.160.0250.00913.56
7.0.150.0130.01213.66
7.0.140.0110.04217.93
7.0.130.0280.00413.82
7.0.120.0180.00913.75
7.0.110.0110.04117.63
7.0.100.0130.02517.76
7.0.90.0160.03817.69
7.0.80.0090.04417.54
7.0.70.0100.02617.52
7.0.60.0080.03617.52
7.0.50.0130.03817.90
7.0.40.0080.04416.87
7.0.30.0120.02916.81
7.0.20.0080.05016.92
7.0.10.0090.03616.97
7.0.00.0140.04116.81
5.6.400.0110.01614.50
5.6.390.0090.01214.05
5.6.380.0130.01614.07
5.6.370.0150.01514.41
5.6.360.0150.00514.40
5.6.350.0040.01214.61
5.6.340.0110.00814.10
5.6.330.0100.01014.70
5.6.320.0160.01314.24
5.6.310.0180.00614.56
5.6.300.0130.01814.50
5.6.290.0110.00814.33
5.6.280.0050.04217.78
5.6.270.0100.01414.23
5.6.260.0080.04317.64
5.6.250.0030.04817.42
5.6.240.0130.03817.63
5.6.230.0120.04217.61
5.6.220.0100.03917.55
5.6.210.0090.04117.48
5.6.200.0110.02417.92
5.6.190.0130.02517.74
5.6.180.0100.05017.67
5.6.170.0090.05117.61
5.6.160.0090.04417.64
5.6.150.0160.03417.69
5.6.140.0090.04917.78
5.6.130.0090.04317.86
5.6.120.0110.02617.75
5.6.110.0110.02417.76
5.6.100.0060.03917.84
5.6.90.0110.03317.69
5.6.80.0070.04417.35
5.6.70.0090.02417.35
5.6.60.0050.02817.38
5.6.50.0040.03117.42
5.6.40.0080.02617.33
5.6.30.0080.02817.46
5.6.20.0080.04417.46
5.6.10.0040.04317.36
5.6.00.0140.02717.42
5.5.380.0120.04317.50
5.5.370.0170.04117.54
5.5.360.0060.04717.43
5.5.350.0110.04417.46
5.5.340.0030.04117.67
5.5.330.0070.04317.69
5.5.320.0080.04717.76
5.5.310.0090.02417.67
5.5.300.0160.03317.45
5.5.290.0050.04517.63
5.5.280.0110.04617.62
5.5.270.0160.03617.77
5.5.260.0090.02317.41
5.5.250.0070.02817.38
5.5.240.0120.02417.20
5.5.230.0090.02617.37
5.5.220.0050.02317.29
5.5.210.0100.02417.30
5.5.200.0080.02917.13
5.5.190.0100.02317.32
5.5.180.0070.02517.16
5.5.170.0120.00814.46
5.5.160.0050.02717.01
5.5.150.0100.02517.19
5.5.140.0090.04117.29
5.5.130.0100.03917.40
5.5.120.0100.02717.30
5.5.110.0120.03117.44
5.5.100.0050.02617.05
5.5.90.0090.02817.18
5.5.80.0080.02517.24
5.5.70.0040.02717.21
5.5.60.0100.02217.32
5.5.50.0120.02017.23
5.5.40.0060.02517.13
5.5.30.0150.01917.15
5.5.20.0020.02616.97
5.5.10.0140.02117.24
5.5.00.0060.02617.03
5.4.450.0020.04115.42
5.4.440.0120.02515.32
5.4.430.0080.02615.33
5.4.420.0050.04115.26
5.4.410.0030.03515.32
5.4.400.0080.02115.12
5.4.390.0060.02415.22
5.4.380.0080.01815.14
5.4.370.0060.02115.13
5.4.360.0050.02515.18
5.4.350.0080.02115.21
5.4.340.0090.03315.12
5.4.330.0060.01211.26
5.4.320.0080.02215.14
5.4.310.0050.02315.13
5.4.300.0080.02115.13
5.4.290.0040.02315.26
5.4.280.0020.02315.13
5.4.270.0110.02215.10
5.4.260.0080.02715.13
5.4.250.0080.02315.13
5.4.240.0100.03115.13
5.4.230.0070.02115.26
5.4.220.0080.02115.18
5.4.210.0100.01815.22
5.4.200.0100.02215.12
5.4.190.0070.02615.14
5.4.180.0070.02015.09
5.4.170.0050.02815.21
5.4.160.0050.02415.07
5.4.150.0100.02215.12
5.4.140.0090.02313.71
5.4.130.0040.02313.85
5.4.120.0080.01813.77
5.4.110.0100.01513.83
5.4.100.0080.01913.69
5.4.90.0050.02213.81
5.4.80.0070.01713.87
5.4.70.0070.01913.80
5.4.60.0030.02213.88
5.4.50.0070.03913.80
5.4.40.0050.01813.83
5.4.30.0090.04013.86
5.4.20.0030.03913.80
5.4.10.0110.03613.86
5.4.00.0060.03313.56
5.3.290.0030.02212.88
5.3.280.0050.01912.86
5.3.270.0020.02212.90
5.3.260.0100.02112.89
5.3.250.0050.02012.93
5.3.240.0020.02712.87
5.3.230.0060.02112.92
5.3.220.0040.02612.86
5.3.210.0070.02012.92
5.3.200.0070.02112.87
5.3.190.0070.01812.86
5.3.180.0060.02112.88
5.3.170.0040.03712.82
5.3.160.0050.01812.87
5.3.150.0130.01712.83
5.3.140.0070.03512.91
5.3.130.0050.03812.95
5.3.120.0050.03812.85
5.3.110.0100.03712.80
5.3.100.0070.03812.66
5.3.90.0050.03712.58
5.3.80.0060.04212.64
5.3.70.0080.03912.57
5.3.60.0040.03912.60
5.3.50.0040.03912.63
5.3.40.0120.03012.65
5.3.30.0050.04012.55
5.3.20.0050.04012.42
5.3.10.0060.04012.49
5.3.00.0050.03312.34

preferences:
42.85 ms | 401 KiB | 5 Q