3v4l.org

run code in 300+ PHP versions simultaneously
<?php $saida = 'vazio'; $array = array( 'Foo' => NULL ); for( $i = 0; $i <= 10000; $i++ ) { if (array_key_exists('Foo', $array)){ echo $i; } } echo $saida;

Abusive script

This script was stopped while abusing our resources

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.110.0100.00620.94
8.3.100.0180.00016.65
8.3.90.0120.00626.77
8.3.80.0090.00620.00
8.3.70.0290.00616.58
8.3.60.0170.01316.49
8.3.50.0340.01222.82
8.3.40.0290.00318.71
8.3.30.0210.00718.92
8.3.20.0130.00320.16
8.3.10.0100.00623.48
8.3.00.0120.00619.53
8.2.230.0070.01022.58
8.2.220.0110.00724.06
8.2.210.0150.00026.77
8.2.200.0070.01416.50
8.2.190.0280.01116.58
8.2.180.0280.00617.96
8.2.170.0320.01322.96
8.2.160.0280.00320.18
8.2.150.0160.00024.18
8.2.140.0120.00424.66
8.2.130.0100.00726.16
8.2.120.0080.00821.10
8.2.110.0170.00722.07
8.2.100.0130.01017.91
8.2.90.0000.01119.20
8.2.80.0090.00317.97
8.2.70.0070.00717.38
8.2.60.0100.00317.93
8.2.50.0090.00318.07
8.2.40.0100.00717.80
8.2.30.0080.00418.04
8.2.20.0100.00317.67
8.2.10.0080.00318.05
8.2.00.0080.00417.54
8.1.290.0180.00030.84
8.1.280.0300.00025.92
8.1.270.0060.01323.92
8.1.260.0250.01226.35
8.1.250.0140.00428.09
8.1.240.0160.00323.92
8.1.230.0130.00919.12
8.1.220.0100.00317.74
8.1.210.0080.00418.77
8.1.200.0080.00817.25
8.1.190.0120.00017.23
8.1.180.0090.00318.10
8.1.170.0090.00318.53
8.1.160.0030.00921.95
8.1.150.0080.00418.81
8.1.140.0090.00317.39
8.1.130.0050.00917.86
8.1.120.0060.00617.27
8.1.110.0060.00617.29
8.1.100.0080.00417.31
8.1.90.0060.00617.28
8.1.80.0040.00817.46
8.1.70.0060.00617.26
8.1.60.0000.01317.51
8.1.50.0060.00617.45
8.1.40.0030.01017.44
8.1.30.0030.00917.59
8.1.20.0040.00817.55
8.1.10.0060.00617.57
8.1.00.0030.00917.36
8.0.300.0070.00418.77
8.0.290.0040.00716.75
8.0.280.0060.00618.41
8.0.270.0080.00417.23
8.0.260.0070.00417.17
8.0.250.0070.00416.83
8.0.240.0030.01016.86
8.0.230.0040.00716.77
8.0.220.0100.00316.81
8.0.210.0040.00716.84
8.0.200.0080.00416.79
8.0.190.0030.01016.87
8.0.180.0090.00616.84
8.0.170.0030.01016.86
8.0.160.0000.01316.79
8.0.150.0060.00616.75
8.0.140.0210.00316.75
8.0.130.0000.01113.20
8.0.120.0060.00616.82
8.0.110.0060.00616.83
8.0.100.0040.00816.62
8.0.90.0060.00616.80
8.0.80.0220.01316.75
8.0.70.0060.00516.67
8.0.60.0040.00816.77
8.0.50.0040.00816.66
8.0.30.0300.03216.83
8.0.20.0510.01817.40
8.0.10.0090.00316.96
8.0.00.0310.02516.65
7.4.330.0100.00015.00
7.4.320.0030.00716.48
7.4.300.0030.00816.50
7.4.290.0030.01016.48
7.4.280.0040.00716.56
7.4.270.0040.00716.41
7.4.260.0000.01216.40
7.4.250.0030.01016.54
7.4.240.0070.00516.46
7.4.230.0030.00916.66
7.4.220.0230.01716.51
7.4.210.0040.03116.55
7.4.200.0070.00416.49
7.4.160.0270.02016.29
7.4.150.0340.02717.40
7.4.140.0390.02017.86
7.4.130.0350.01816.37
7.4.120.0310.02516.44
7.4.110.0200.03416.51
7.4.100.0290.02216.50
7.4.90.0310.02716.51
7.4.80.0220.03819.39
7.4.70.0280.02616.38
7.4.60.0280.01716.65
7.4.50.0060.00316.50
7.4.40.0330.01316.46
7.4.30.0260.01716.50
7.3.330.0070.00613.00
7.3.320.0110.00013.09
7.3.310.0060.00616.39
7.3.300.0070.00416.23
7.3.290.0130.02616.17
7.3.280.0230.02116.29
7.3.270.0420.03617.40
7.3.260.0400.00916.30
7.3.250.0360.02016.41
7.3.240.0380.03016.48
7.3.230.0280.02116.39
7.3.210.0360.01716.23
7.3.200.0300.03319.39
7.3.190.0400.01716.43
7.3.180.0330.01916.43
7.3.170.0230.02016.42
7.3.160.0180.02616.48
7.2.330.0490.02516.66
7.2.320.0280.02216.45
7.2.310.0310.02216.45
7.2.300.0250.02016.43
7.2.290.0460.02016.48
7.2.100.0990.01614.79
7.2.90.0870.01214.22
7.2.80.0640.00914.65
7.2.70.0830.01614.97
7.2.60.0640.00914.89
7.2.50.0910.01414.75
7.2.40.0080.03114.98
7.2.30.1880.02115.02
7.2.20.0200.01714.98
7.2.10.1000.01115.00
7.2.00.0360.01614.82
7.1.220.0720.01013.95
7.1.210.0210.02413.91
7.1.200.1030.00613.81
7.1.190.0950.00013.86
7.1.180.0960.00713.87
7.1.170.0230.02013.88
7.1.160.0870.01213.94
7.1.150.0240.00913.62
7.1.140.1260.01713.90
7.1.130.1270.02414.05
7.1.120.0830.00913.78
7.1.110.0350.00913.90
7.1.100.0230.02014.00
7.1.90.0300.00814.09
7.1.80.0550.01513.92
7.1.70.0460.00914.04
7.1.60.1300.02832.00
7.1.50.1670.01431.70
7.1.40.0620.02932.07
7.1.30.0470.01332.15
7.1.20.0560.00931.76
7.1.10.1810.02214.00
7.1.00.0520.02513.75
7.0.310.0470.01413.61
7.0.300.0830.01613.50
7.0.290.0820.02613.14
7.0.280.0900.00613.57
7.0.270.0970.02413.37
7.0.260.0270.01813.30
7.0.250.0260.01713.59
7.0.240.1200.01913.39
7.0.230.0420.01413.48
7.0.220.1190.02313.79
7.0.210.0260.01013.40
7.0.200.1230.02513.60
7.0.190.0170.02713.51
7.0.180.1250.00713.61
7.0.170.1410.00413.49
7.0.160.0300.03013.68
7.0.150.1030.01813.70
7.0.140.1160.01013.64
7.0.130.0260.01113.70
7.0.120.1260.00913.82
7.0.110.1060.01113.67
7.0.100.1020.01013.54
7.0.90.0300.02713.63
7.0.80.0570.02013.41
7.0.70.0310.00913.66
7.0.60.1390.00913.71
7.0.50.0190.01613.69
7.0.40.0610.00813.32
7.0.30.0370.02013.71
7.0.20.0520.01613.68
7.0.10.0240.01113.55
7.0.00.0430.01813.75
5.6.380.0200.02014.10
5.6.370.0200.01513.74
5.6.360.0210.01214.37
5.6.350.0260.02014.12
5.6.340.0190.01614.02
5.6.330.0200.01814.26
5.6.320.0260.01814.09
5.6.310.0070.02714.05
5.6.300.0240.01714.24
5.6.290.0270.01814.52
5.6.280.0140.02114.57
5.6.270.0220.01114.55
5.6.260.0230.01614.20
5.6.250.0170.03014.23
5.6.240.0240.03014.27
5.6.230.0260.01114.28
5.6.220.0310.02314.52
5.6.210.0280.00314.52
5.6.200.0220.01914.26
5.6.190.0270.00914.42
5.6.180.0220.01814.05
5.6.170.0300.00913.98
5.6.160.0230.01214.32
5.6.150.0190.01614.09
5.6.140.0110.03014.09
5.6.130.0300.01914.22
5.6.120.0230.01714.31
5.6.110.0150.01814.40
5.6.100.0210.01913.96
5.6.90.0290.00814.16
5.6.80.0200.01313.86
5.6.70.0250.02814.02
5.6.60.0230.01714.02
5.6.50.0400.01213.98
5.6.40.0190.02414.14
5.6.30.0340.01014.25
5.6.20.0090.03514.05
5.6.10.0350.01914.23
5.6.00.0250.02514.08
5.5.380.0120.01912.45
5.5.370.0120.02912.45
5.5.360.0230.01512.45
5.5.350.0060.02212.45
5.5.340.0190.02212.45
5.5.330.0180.00912.45
5.5.320.0060.02912.45
5.5.310.0190.01612.45
5.5.300.0320.01812.45
5.5.290.0180.00912.45
5.5.280.0200.01712.45
5.5.270.0130.01312.45
5.5.260.0120.01812.45
5.5.250.0210.01412.45
5.5.240.0140.01412.45
5.5.230.0240.00812.45
5.5.220.0140.01912.45
5.5.210.0210.01712.45
5.5.200.0310.01412.45
5.5.190.0160.02212.45
5.5.180.0210.01812.45
5.5.170.0310.01714.20
5.5.160.0230.01912.45
5.5.150.0130.02212.45
5.4.450.0190.01612.45
5.4.440.0120.01712.45
5.4.430.0250.00812.45
5.4.420.0190.01412.45
5.4.410.0130.01312.45
5.4.400.0160.01912.45
5.4.390.0250.01412.45
5.4.380.0220.02012.45
5.4.370.0140.01812.45
5.4.360.0180.01512.45
5.4.350.0220.01312.45
5.4.340.0180.02212.45
5.4.330.0360.00912.45
5.4.320.0260.01312.45
5.3.290.0130.02212.45

preferences:
26.65 ms | 403 KiB | 5 Q