3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (int)'-9999999999999999999999999999999999999999'; echo "\n"; echo (int)'9999999999999999999999999999999999999999';

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.4.20.0170.00317.74
8.4.10.0070.00317.71
8.3.150.0080.00018.95
8.3.140.0090.00916.80
8.3.130.0050.00318.51
8.3.120.0090.00918.84
8.3.110.0040.00420.94
8.3.100.0050.00324.06
8.3.90.0130.00326.77
8.3.80.0060.00316.88
8.3.70.0070.01016.62
8.3.60.0090.00918.39
8.3.50.0100.01221.92
8.3.40.0080.00818.88
8.3.30.0100.00318.83
8.3.20.0070.00020.21
8.3.10.0080.00021.79
8.3.00.0050.00317.50
8.2.260.0090.00916.74
8.2.250.0000.00918.59
8.2.240.0080.00017.16
8.2.230.0040.00422.58
8.2.220.0040.00437.54
8.2.210.0080.00026.77
8.2.200.0030.00616.63
8.2.190.0120.00316.63
8.2.180.0100.01018.29
8.2.170.0080.00819.11
8.2.160.0030.01022.96
8.2.150.0000.00825.66
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.54
8.2.110.0100.00022.11
8.2.100.0090.00317.84
8.2.90.0040.00418.03
8.2.80.0040.00419.02
8.2.70.0040.00417.63
8.2.60.0090.00018.04
8.2.50.0040.00418.05
8.2.40.0030.00519.82
8.2.30.0040.00418.01
8.2.20.0040.00417.73
8.2.10.0020.00517.90
8.2.00.0070.00018.14
8.1.310.0070.00018.23
8.1.300.0090.00017.66
8.1.290.0090.00018.88
8.1.280.0110.00425.92
8.1.270.0150.00423.91
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0040.00422.16
8.1.230.0120.00020.90
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0050.00517.22
8.1.190.0000.00816.97
8.1.180.0000.00818.10
8.1.170.0000.00818.88
8.1.160.0070.00018.66
8.1.150.0030.00518.79
8.1.140.0030.00517.42
8.1.130.0070.00017.71
8.1.120.0030.00317.23
8.1.110.0030.00417.32
8.1.100.0050.00217.34
8.1.90.0000.00817.22
8.1.80.0040.00417.20
8.1.70.0030.00317.34
8.1.60.0000.00817.46
8.1.50.0000.00817.38
8.1.40.0080.00017.30
8.1.30.0040.00417.54
8.1.20.0040.00417.43
8.1.10.0050.00217.34
8.1.00.0040.00417.26
8.0.300.0030.00620.10
8.0.290.0040.00416.75
8.0.280.0030.00318.28
8.0.270.0040.00416.80
8.0.260.0060.00017.24
8.0.250.0080.00016.86
8.0.240.0000.00716.80
8.0.230.0070.00016.90
8.0.220.0030.00316.85
8.0.210.0050.00316.81
8.0.200.0060.00016.74
8.0.190.0070.00316.91
8.0.180.0000.00816.88
8.0.170.0040.00416.74
8.0.160.0030.00516.93
8.0.150.0030.00316.83
8.0.140.0000.00716.75
8.0.130.0080.00013.25
8.0.120.0080.00016.77
8.0.110.0000.00816.77
8.0.100.0070.00016.65
8.0.90.0070.00016.68
8.0.80.0070.00716.70
8.0.70.0000.00816.70
8.0.60.0030.00516.88
8.0.50.0040.00416.63
8.0.30.0100.01616.79
8.0.20.0170.00117.40
8.0.10.0000.00716.91
8.0.00.0100.00916.62
7.4.330.0030.00315.03
7.4.320.0000.01016.36
7.4.300.0050.00216.34
7.4.290.0040.00416.28
7.4.280.0040.00416.29
7.4.270.0030.00316.34
7.4.260.0030.00316.25
7.4.250.0040.00416.41
7.4.240.0020.00516.46
7.4.230.0000.00716.45
7.4.220.0060.01316.28
7.4.210.0110.00316.39
7.4.200.0040.00416.41
7.4.160.0060.01016.39
7.4.150.0070.01017.40
7.4.140.0120.01117.86
7.4.130.0060.01516.36
7.4.120.0100.00716.39
7.4.110.0120.01216.14
7.4.100.0060.01516.31
7.4.90.0060.01116.44
7.4.80.0070.01419.39
7.4.70.0070.01416.32
7.4.60.0100.00616.34
7.4.50.0040.00416.41
7.4.40.0090.00616.48
7.4.30.0110.01116.50
7.4.10.0090.00614.87
7.4.00.0080.00914.76
7.3.330.0030.00313.10
7.3.320.0130.00013.07
7.3.310.0030.00316.19
7.3.300.0000.00716.29
7.3.290.0100.00716.21
7.3.280.0100.00616.20
7.3.270.0150.00317.40
7.3.260.0090.00916.55
7.3.250.0150.00616.22
7.3.240.0100.00716.32
7.3.230.0050.01116.39
7.3.210.0040.01216.41
7.3.200.0000.01519.39
7.3.190.0060.01316.55
7.3.180.0100.01016.31
7.3.170.0180.00016.27
7.3.160.0100.00616.50
7.3.130.0120.00714.65
7.3.120.0090.00914.58
7.3.110.0090.00714.63
7.3.100.0050.00914.41
7.3.90.0060.00814.62
7.3.80.0040.00714.67
7.3.70.0040.01014.60
7.3.60.0050.01014.65
7.3.50.0040.00914.65
7.3.40.0090.00414.68
7.3.30.0030.00914.68
7.3.20.0030.01116.62
7.3.10.0070.00716.46
7.3.00.0060.00916.39
7.2.330.0090.00916.44
7.2.320.0030.01216.23
7.2.310.0140.00316.62
7.2.300.0130.00316.30
7.2.290.0040.01316.41
7.2.260.0090.01115.01
7.2.250.0090.01014.82
7.2.240.0040.01114.83
7.2.230.0060.00814.90
7.2.220.0060.00814.75
7.2.210.0070.00714.81
7.2.200.0070.00914.71
7.2.190.0090.00514.79
7.2.180.0080.00614.86
7.2.170.0060.00914.92
7.2.160.0030.00814.79
7.2.150.0050.00916.52
7.2.140.0030.00716.94
7.2.130.0050.00716.72
7.2.120.0070.01016.64
7.2.110.0050.00716.71
7.2.100.0050.00916.69
7.2.90.0030.01016.68
7.2.80.0080.00616.79
7.2.70.0100.00716.70
7.2.60.0080.00916.67
7.2.50.0080.00816.78
7.2.40.0100.00716.83
7.2.30.0060.00816.73
7.2.20.0050.01116.76
7.2.10.0060.01016.78
7.2.00.0080.00617.37
7.1.330.0080.00515.52
7.1.320.0030.01015.69
7.1.310.0060.00715.51
7.1.300.0060.00815.69
7.1.290.0060.00815.56
7.1.280.0070.00615.59
7.1.270.0020.00815.58
7.1.260.0050.00915.66
7.1.250.0060.00915.61
7.1.240.0040.00915.46
7.1.230.0050.00915.64
7.1.220.0060.00715.56
7.1.210.0040.00915.54
7.1.200.0080.00515.44
7.1.190.0070.00815.58
7.1.180.0060.00615.73
7.1.170.0060.00615.75
7.1.160.0060.00715.50
7.1.150.0090.00715.61
7.1.140.0070.01015.58
7.1.130.0060.00815.62
7.1.120.0020.01015.46
7.1.110.0050.01115.61
7.1.100.0080.00616.31
7.1.90.0050.00715.57
7.1.80.0050.00715.49
7.1.70.0050.00615.98
7.1.60.0040.01016.61
7.1.50.0070.00915.90
7.1.40.0040.00715.50
7.1.30.0050.00915.64
7.1.20.0060.00615.49
7.1.10.0060.00415.76
7.1.00.0020.02617.26
7.0.330.0050.00615.33
7.0.320.0050.00915.04
7.0.310.0070.00815.12
7.0.300.0030.00915.03
7.0.290.0070.00615.08
7.0.280.0070.00615.18
7.0.270.0080.00615.18
7.0.260.0100.00415.17
7.0.250.0060.00915.17
7.0.240.0110.00415.22
7.0.230.0080.00415.20
7.0.220.0040.01015.32
7.0.210.0060.00715.41
7.0.200.0050.00815.58
7.0.190.0030.00915.27
7.0.180.0060.00715.19
7.0.170.0060.00615.39
7.0.160.0080.00415.37
7.0.150.0030.00815.11
7.0.140.0050.00815.22
7.0.130.0050.00715.33
7.0.120.0070.00615.09
7.0.110.0100.00415.20
7.0.100.0050.00815.13
7.0.90.0040.00815.39
7.0.80.0050.00715.22
7.0.70.0080.00415.31
7.0.60.0080.02416.42
7.0.50.0070.02615.88
7.0.40.0030.01815.04
7.0.30.0090.01814.92
7.0.20.0090.02115.08
7.0.10.0120.02614.98
7.0.00.0070.02615.08
5.6.400.0080.00514.20
5.6.390.0090.00614.34
5.6.380.0040.00914.15
5.6.370.0080.01114.13
5.6.360.0120.00614.46
5.6.350.0050.00914.04
5.6.340.0070.00514.19
5.6.330.0080.00914.37
5.6.320.0080.00814.16
5.6.310.0020.01114.29
5.6.300.0060.00814.21
5.6.290.0090.00614.25
5.6.280.0050.00714.31
5.6.270.0100.00614.20
5.6.260.0060.01014.25
5.6.250.0090.00714.07
5.6.240.0050.00914.21
5.6.230.0070.00914.17
5.6.220.0040.01114.29
5.6.210.0070.02415.84
5.6.200.0090.01715.30
5.6.190.0060.02415.72
5.6.180.0110.02615.83
5.6.170.0120.02815.82
5.6.160.0100.01315.74
5.6.150.0070.01615.31
5.6.140.0030.01815.21
5.6.130.0090.01415.10
5.6.120.0080.01315.89
5.6.110.0070.02815.97
5.6.100.0080.02915.86
5.6.90.0110.02515.85
5.6.80.0130.01615.80
5.6.70.0080.02115.70
5.6.60.0090.00513.99
5.6.50.0080.00814.11
5.6.40.0060.00814.23
5.6.30.0070.00614.06
5.6.20.0080.00414.06
5.6.10.0000.01014.14
5.6.00.0050.00714.00
5.5.380.0060.00813.13
5.5.370.0050.00613.07
5.5.360.0050.00913.12
5.5.350.0130.02014.94
5.5.340.0080.01414.32
5.5.330.0060.01814.67
5.5.320.0090.02514.91
5.5.310.0130.02314.68
5.5.300.0060.02414.30
5.5.290.0100.01914.30
5.5.280.0070.02315.06
5.5.270.0060.02414.88
5.5.260.0090.02615.01
5.5.250.0090.02314.81
5.5.240.0040.01614.85
5.5.230.0060.00612.96
5.5.220.0060.00413.16
5.5.210.0040.01012.93
5.5.200.0040.00612.96
5.5.190.0070.00612.88
5.5.180.0050.00512.99
5.5.170.0020.01112.96
5.5.160.0060.00512.98
5.5.150.0060.00712.86
5.5.140.0060.00712.92
5.5.130.0050.00612.84
5.5.120.0040.00712.98
5.5.110.0050.00912.81
5.5.100.0030.00812.83
5.5.90.0050.00612.96
5.5.80.0050.00412.74
5.5.70.0010.00913.13
5.5.60.0030.00913.01
5.5.50.0040.00912.74
5.5.40.0040.00812.92
5.5.30.0030.00512.96
5.5.20.0040.00712.97
5.5.10.0010.00912.96
5.5.00.0080.00412.94
5.4.450.0100.01613.54
5.4.440.0090.02213.62
5.4.430.0080.01813.56
5.4.420.0100.01513.47
5.4.410.0100.01513.51
5.4.400.0100.02213.51
5.4.390.0120.02213.48
5.4.380.0120.02113.52
5.4.370.0120.02013.43
5.4.360.0100.01913.52
5.4.350.0140.01713.53
5.4.340.0100.02113.45
5.4.330.0020.00711.60
5.4.320.0100.01113.39
5.4.310.0100.02513.42
5.4.300.0100.01913.56
5.4.290.0090.02213.49
5.4.280.0080.02013.39
5.4.270.0100.02213.44
5.4.260.0100.01713.36
5.4.250.0110.02113.44
5.4.240.0110.02113.31
5.4.230.0100.02313.48
5.4.220.0110.01213.43
5.4.210.0080.01413.42
5.4.200.0080.01313.39
5.4.190.0090.01113.49
5.4.180.0050.01413.47
5.4.170.0100.01213.51
5.4.160.0090.01413.41
5.4.150.0080.01913.40
5.4.140.0080.01612.81
5.4.130.0100.01212.79
5.4.120.0110.01112.78
5.4.110.0100.01112.80
5.4.100.0080.01312.76
5.4.90.0090.01112.75
5.4.80.0080.01612.68
5.4.70.0080.01412.75
5.4.60.0090.01212.73
5.4.50.0110.01212.83
5.4.40.0050.01412.81
5.4.30.0060.01512.77
5.4.20.0060.01512.73
5.4.10.0090.01212.86
5.4.00.0060.01512.69
5.3.290.0160.01912.41
5.3.280.0160.03612.46
5.3.270.0080.02312.44
5.3.260.0140.02012.40
5.3.250.0080.02612.43
5.3.240.0070.02612.38
5.3.230.0120.02512.35
5.3.220.0100.02212.32
5.3.210.0230.01512.33
5.3.200.0080.02312.32
5.3.190.0120.02112.33
5.3.180.0130.01912.45
5.3.170.0070.02712.37
5.3.160.0150.01712.47
5.3.150.0100.02012.36
5.3.140.0110.02112.41
5.3.130.0100.02312.37
5.3.120.0210.02012.37
5.3.110.0080.02312.42
5.3.100.0070.02412.12
5.3.90.0120.02012.15
5.3.80.0130.01612.13
5.3.70.0100.02212.09
5.3.60.0100.02212.14
5.3.50.0080.02511.99
5.3.40.0120.03112.00
5.3.30.0150.01912.05
5.3.20.0180.02812.00
5.3.10.0070.02911.87
5.3.00.0150.03611.87
5.2.170.0090.02111.00
5.2.160.0120.01511.00
5.2.150.0080.02011.00
5.2.140.0080.01811.00
5.2.130.0130.02211.00
5.2.120.0120.01511.00
5.2.110.0100.01811.00
5.2.100.0070.01811.00
5.2.90.0170.01511.00
5.2.80.0130.01311.00
5.2.70.0030.02211.00
5.2.60.0100.01511.00
5.2.50.0100.01811.00
5.2.40.0080.03311.00
5.2.30.0100.02011.00
5.2.20.0100.01511.00
5.2.10.0130.01811.00
5.2.00.0050.01911.00
5.1.60.0080.01211.00
5.1.50.0090.01411.00
5.1.40.0070.03211.00
5.1.30.0090.02611.00
5.1.20.0100.01311.00
5.1.10.0120.01711.00
5.1.00.0130.01811.00
5.0.50.0030.02411.00
5.0.40.0030.02111.00
5.0.30.0060.02311.00
5.0.20.0030.01311.00
5.0.10.0070.01711.00
5.0.00.0090.03011.00
4.4.90.0050.01011.00
4.4.80.0050.01011.00
4.4.70.0030.01311.00
4.4.60.0030.00811.00
4.4.50.0090.01711.00
4.4.40.0030.01411.00
4.4.30.0050.00911.00
4.4.20.0080.01811.00
4.4.10.0120.01511.00
4.4.00.0070.01911.00
4.3.110.0050.01711.00
4.3.100.0070.00811.00
4.3.90.0070.01711.00
4.3.80.0090.01611.00
4.3.70.0060.01311.00
4.3.60.0060.01011.00
4.3.50.0050.01211.00
4.3.40.0080.02711.00
4.3.30.0080.01311.00
4.3.20.0020.01811.00
4.3.10.0100.01311.00
4.3.00.0040.01611.00

preferences:
77.93 ms | 403 KiB | 5 Q