3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(decbin(~0)); var_dump(decbin(-1)); var_dump(decbin(~PHP_INT_MAX));
based on cHkPX

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)
7.4.40.0130.00616.10
7.4.30.0110.00715.96
7.4.20.0100.01315.91
7.4.10.0030.01516.10
7.4.00.0080.01015.42
7.3.160.0070.01116.02
7.3.150.0120.00615.87
7.3.140.0070.01015.95
7.3.130.0080.00815.95
7.3.120.0070.01015.28
7.3.110.0090.00915.33
7.3.100.0060.01015.39
7.3.90.0140.00215.46
7.3.80.0100.00615.35
7.3.70.0100.00715.35
7.3.60.0080.00815.28
7.3.50.0060.01215.36
7.3.40.0100.00615.34
7.3.30.0090.00415.44
7.3.20.0040.01016.31
7.3.10.0090.00816.33
7.3.00.0080.00916.28
7.2.290.0080.01116.25
7.2.280.0110.01116.06
7.2.270.0100.00716.06
7.2.260.0070.01016.45
7.2.250.0120.00615.32
7.2.240.0100.00915.64
7.2.230.0080.00915.44
7.2.220.0070.00915.52
7.2.210.0080.00915.61
7.2.200.0130.00215.54
7.2.190.0100.00615.54
7.2.180.0090.00915.38
7.2.170.0080.00715.58
7.2.160.0100.00716.30
7.2.150.0100.00716.34
7.2.140.0110.00716.44
7.2.130.0070.01016.57
7.2.120.0110.00716.30
7.2.110.0140.00716.41
7.2.100.0100.01316.31
7.2.90.0100.00716.20
7.2.80.0120.00816.27
7.2.70.0080.01416.30
7.2.60.0130.00816.63
7.2.50.0100.00516.26
7.2.40.0090.00816.23
7.2.30.0130.00716.32
7.2.20.0130.01016.12
7.2.10.0150.00716.47
7.2.00.0100.00817.30
7.1.330.0150.00715.62
7.1.320.0100.01115.52
7.1.310.0140.01115.56
7.1.300.0170.00515.60
7.1.290.0240.00215.45
7.1.280.0190.00115.49
7.1.270.0130.00815.54
7.1.260.0150.00715.66
7.1.250.0160.00915.13
7.1.240.0300.00615.21
7.1.230.0210.00915.31
7.1.220.0270.01115.29
7.1.210.0250.00415.30
7.1.200.0170.00115.54
7.1.190.0230.00315.34
7.1.180.0080.01115.16
7.1.170.0160.00615.25
7.1.160.0070.01115.19
7.1.150.0110.00815.16
7.1.140.0100.01115.24
7.1.130.0120.01215.22
7.1.120.0140.00614.94
7.1.110.0060.01615.29
7.1.100.0070.01016.54
7.1.90.0050.01615.27
7.1.80.0230.00415.35
7.1.70.0110.00416.27
7.1.60.0080.01517.37
7.1.50.0130.01015.78
7.1.40.0080.01215.24
7.1.30.0080.01215.29
7.1.20.0090.00915.15
7.1.10.0060.01515.31
7.1.00.0120.03818.91
7.0.330.0340.00715.24
7.0.320.0160.01114.93
7.0.310.0270.00515.01
7.0.300.0230.00314.88
7.0.290.0410.00714.71
7.0.280.0090.00914.76
7.0.270.0120.01014.92
7.0.260.0170.00715.02
7.0.250.0080.01214.96
7.0.240.0150.00514.83
7.0.230.0180.00614.89
7.0.220.0120.00814.71
7.0.210.0130.01015.02
7.0.200.0110.00615.75
7.0.190.0150.00614.89
7.0.180.0070.01414.91
7.0.170.0120.00915.11
7.0.160.0130.01015.08
7.0.150.0130.00714.93
7.0.140.0180.00315.02
7.0.130.0050.01414.79
7.0.120.0130.01014.87
7.0.110.0080.02617.48
7.0.100.0150.01517.41
7.0.90.0120.01517.40
7.0.80.0090.02217.43
7.0.70.0100.02317.29
7.0.60.0230.02217.49
7.0.50.0080.02017.39
7.0.40.0120.01817.41
7.0.30.0100.02317.42
7.0.20.0090.02117.22
7.0.10.0030.02417.24
7.0.00.0050.02317.30
5.6.400.0200.01015.86
5.6.390.0190.01215.71
5.6.380.0150.01515.84
5.6.370.0270.00315.96
5.6.360.0130.01615.58
5.6.350.0150.00915.73
5.6.340.0040.02215.75
5.6.330.0160.00815.68
5.6.320.0160.00715.53
5.6.310.0170.00915.52
5.6.300.0160.00615.61
5.6.290.0160.00615.58
5.6.280.0080.04218.37
5.6.270.0160.01015.52
5.6.260.0080.02118.05
5.6.250.0080.02218.11
5.6.240.0060.02418.21
5.6.230.0080.02718.11
5.6.220.0020.03118.01
5.6.210.0110.01918.02
5.6.200.0090.02417.97
5.6.190.0130.01917.97
5.6.180.0060.04018.05
5.6.170.0180.03618.23
5.6.160.0050.02617.97
5.6.150.0090.02418.12
5.6.140.0100.02418.06
5.6.130.0080.02818.08
5.6.120.0110.02218.14
5.6.110.0070.02718.17
5.6.100.0170.02518.03
5.6.90.0070.03118.00
5.6.80.0130.02217.79
5.6.70.0060.02517.71
5.6.60.0070.02717.84
5.6.50.0110.02417.72
5.6.40.0100.03717.66
5.6.30.0080.03817.76
5.6.20.0070.02517.87
5.6.10.0110.02117.73
5.6.00.0130.02917.57
5.5.380.0130.01816.75
5.5.370.0090.02916.68
5.5.360.0060.02616.35
5.5.350.0060.02316.33
5.5.340.0090.02116.67
5.5.330.0090.02116.79
5.5.320.0110.02116.78
5.5.310.0050.02516.67
5.5.300.0100.02416.59
5.5.290.0150.03516.54
5.5.280.0070.02816.67
5.5.270.0140.01916.89
5.5.260.0080.02316.53
5.5.250.0030.02516.57
5.5.240.0090.02016.48
5.5.230.0060.02516.25
5.5.220.0070.02116.18
5.5.210.0050.02716.26
5.5.200.0070.02216.31
5.5.190.0080.03416.18
5.5.180.0040.02916.41
5.5.170.0200.01315.35
5.5.160.0080.02716.31
5.5.150.0070.02916.29
5.5.140.0150.02016.43
5.5.130.0210.01516.16
5.5.120.0150.03616.47
5.5.110.0140.02016.27
5.5.100.0110.02416.40
5.5.90.0080.02616.09
5.5.80.0100.02116.32
5.5.70.0060.04816.38
5.5.60.0100.02416.17
5.5.50.0070.02416.43
5.5.40.0110.02116.42
5.5.30.0120.01916.18
5.5.20.0140.01916.23
5.5.10.0090.01916.20
5.5.00.0090.03416.22
5.4.450.0060.02415.90
5.4.440.0060.02515.89
5.4.430.0080.02015.93
5.4.420.0040.02315.74
5.4.410.0090.01715.76
5.4.400.0060.02115.70
5.4.390.0050.02515.72
5.4.380.0060.02015.81
5.4.370.0090.02115.46
5.4.360.0060.02415.42
5.4.350.0100.02815.61
5.4.340.0080.02315.75
5.4.330.0080.01312.13
5.4.320.0090.02115.56
5.4.310.0070.03315.70
5.4.300.0110.02015.64
5.4.290.0080.01615.52
5.4.280.0070.03715.66
5.4.270.0080.02015.76
5.4.260.0070.02015.72
5.4.250.0060.04115.65
5.4.240.0030.03515.64
5.4.230.0050.02315.55
5.4.220.0140.01615.49
5.4.210.0020.02515.55
5.4.200.0040.02015.51
5.4.190.0080.01815.53
5.4.180.0080.02615.59
5.4.170.0090.01815.63
5.4.160.0070.02115.67
5.4.150.0100.02815.60
5.4.140.0080.02314.24
5.4.130.0100.01814.26
5.4.120.0110.01614.33
5.4.110.0070.03014.48
5.4.100.0070.02214.35
5.4.90.0090.01914.41
5.4.80.0120.02914.39
5.4.70.0100.02414.36
5.4.60.0110.02314.38
5.4.50.0100.02314.27
5.4.40.0120.02314.36
5.4.30.0100.02114.33
5.4.20.0100.01814.35
5.4.10.0110.03014.37
5.4.00.0120.02414.15
5.3.290.0030.03714.76
5.3.280.0070.03314.38
5.3.270.0030.04014.61
5.3.260.0070.03014.45
5.3.250.0070.02714.63
5.3.240.0070.03014.52
5.3.230.0030.03014.52
5.3.220.0030.03314.62
5.3.210.0100.05014.48
5.3.200.0000.03314.42
5.3.190.0030.04714.35
5.3.180.0000.03314.41
5.3.170.0100.03014.45
5.3.160.0070.04014.44
5.3.150.0000.04014.48
5.3.140.0030.03714.43
5.3.130.0030.03014.64
5.3.120.0100.03714.44
5.3.110.0000.03714.54
5.3.100.0030.04014.03
5.3.90.0130.02313.84
5.3.80.0070.03314.11
5.3.70.0070.06313.80
5.3.60.0000.04013.87
5.3.50.0000.03714.01
5.3.40.0030.03014.02
5.3.30.0000.04713.84
5.3.20.0070.02313.51
5.3.10.0100.02713.71
5.3.00.0070.06013.52
5.2.170.0030.02712.01
5.2.160.0000.03012.01
5.2.150.0000.03012.01
5.2.140.0000.03312.01
5.2.130.0000.02712.01
5.2.120.0030.02712.01
5.2.110.0000.02712.01
5.2.100.0070.02312.01
5.2.90.0000.05012.01
5.2.80.0000.04312.01
5.2.70.0030.02712.01
5.2.60.0000.04712.01
5.2.50.0000.03312.01
5.2.40.0030.05012.01
5.2.30.0030.03712.01
5.2.20.0070.03712.01
5.2.10.0000.03312.01
5.2.00.0000.02712.01
5.1.60.0070.03012.01
5.1.50.0030.02012.01
5.1.40.0030.02012.01
5.1.30.0030.02312.01
5.1.20.0000.03012.01
5.1.10.0000.03012.01
5.1.00.0000.02312.01
5.0.50.0100.01312.01
5.0.40.0000.03012.01
5.0.30.0030.04012.01
5.0.20.0070.03712.01
5.0.10.0030.02712.01
5.0.00.0000.03312.01
4.4.90.0070.00712.01
4.4.80.0000.01712.01
4.4.70.0070.02012.01
4.4.60.0000.01312.01
4.4.50.0000.01312.01
4.4.40.0000.02712.01
4.4.30.0000.02012.01
4.4.20.0000.01312.01
4.4.10.0000.01312.01
4.4.00.0030.04012.01
4.3.110.0000.02312.01
4.3.100.0000.03712.01
4.3.90.0070.02012.01
4.3.80.0000.02312.01
4.3.70.0000.01312.01
4.3.60.0000.01712.01
4.3.50.0000.01712.01
4.3.40.0000.02312.01
4.3.30.0030.02312.01
4.3.20.0000.02012.01
4.3.10.0030.01312.01
4.3.00.0000.01712.01