3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = array_combine(range(0, 10000), range(0, 10000)); $a = microtime(); isset($c[500]); $b = microtime(); echo $b - $a;

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.00.0100.01015.67
7.3.120.0040.01415.49
7.3.110.0090.00615.66
7.3.100.0070.00715.14
7.3.90.0110.00715.32
7.3.80.0030.01015.56
7.3.70.0030.01415.26
7.3.60.0060.00915.45
7.3.50.0060.01215.38
7.3.40.0090.00315.36
7.3.30.0060.00915.53
7.3.20.0100.00318.36
7.3.10.0140.00518.38
7.3.00.0150.00818.34
7.2.250.0060.01315.51
7.2.240.0030.01615.65
7.2.230.0060.01015.85
7.2.220.0070.00415.88
7.2.210.0030.00615.74
7.2.200.0080.00415.50
7.2.190.0060.01215.76
7.2.180.0040.01515.75
7.2.170.0030.01015.74
7.2.130.0170.00418.05
7.2.120.0200.01418.18
7.2.110.0180.01118.20
7.2.100.0190.00818.42
7.2.90.0160.00818.23
7.2.80.0300.00818.60
7.2.70.0330.00318.31
7.2.60.0280.01218.22
7.2.50.0130.01018.34
7.2.40.0160.01017.97
7.2.30.0250.00018.03
7.2.20.0310.00418.14
7.2.10.0220.01318.42
7.2.00.0160.00919.93
7.1.330.0030.01017.60
7.1.320.0060.00617.61
7.1.310.0070.00717.64
7.1.300.0070.00717.38
7.1.290.0110.00617.79
7.1.280.0040.01117.43
7.1.270.0090.00617.77
7.1.260.0040.01417.63
7.1.250.0270.00717.78
7.1.70.0060.00618.97
7.1.60.0130.00719.28
7.1.50.0120.00818.86
7.1.00.0030.07724.27
7.0.200.0140.00015.63
7.0.140.0070.07324.08
7.0.60.0070.05320.91
7.0.50.0170.03018.51
7.0.40.0170.08320.40
7.0.30.0270.04320.00
7.0.20.0330.07720.01
7.0.10.0100.08320.02
7.0.00.0170.07720.00
5.6.280.0130.07024.95
5.6.210.0070.04024.58
5.6.200.0070.07722.04
5.6.190.0100.04024.22
5.6.180.2830.04324.14
5.6.170.0300.06724.21
5.6.160.0070.07324.13
5.6.150.0130.08721.93
5.6.140.0070.08721.97
5.6.130.0100.07021.96
5.6.120.0130.07024.95
5.6.110.0070.07024.86
5.6.100.0130.08725.00
5.6.90.0100.05324.86
5.6.80.0030.04324.27
5.6.70.4400.04324.25
5.5.350.0030.08724.21
5.5.340.0000.06321.82
5.5.330.0200.07723.95
5.5.320.3670.04023.90
5.5.310.0170.04323.97
5.5.300.0030.04321.71
5.5.290.0030.06721.84
5.5.280.0130.08724.59
5.5.270.0130.05024.62
5.5.260.0030.09724.65
5.5.250.0170.07324.52
5.5.240.0300.06323.93
5.4.450.0970.03323.33
5.4.440.0500.05023.03
5.4.430.0700.05323.13
5.4.420.0330.05323.36
5.4.410.0570.05023.01
5.4.400.0370.04722.92
5.4.390.0500.04722.33
5.4.380.0430.05022.41
5.4.370.0400.05322.35
5.4.360.0400.06322.35
5.4.350.0700.05022.29
5.4.340.0470.05322.30
5.4.320.0070.05216.31
5.4.310.0060.04916.31
5.4.300.0070.04816.32
5.4.290.0100.03716.31
5.4.280.0100.04116.20
5.4.270.0110.03416.21
5.4.260.0080.04316.21
5.4.250.0060.04016.21
5.4.240.0050.04016.20
5.4.230.0110.03716.20
5.4.220.0070.04216.20
5.4.210.0040.04016.20
5.4.200.0110.04616.20
5.4.190.0110.03716.20
5.4.180.0070.03816.19
5.4.170.0100.04316.21
5.4.160.0070.03816.20
5.4.150.0070.03816.20
5.4.140.0110.04315.88
5.4.130.0080.04115.87
5.4.120.0060.03915.82
5.4.110.0060.03815.82
5.4.100.0060.03815.82
5.4.90.0080.03915.83
5.4.80.0080.04315.57
5.4.70.0070.04215.82
5.4.60.0070.03615.82
5.4.50.0090.03815.82
5.4.40.0080.03715.81
5.4.30.0100.03615.55
5.4.20.0110.04415.80
5.4.10.0070.04115.80
5.4.00.0090.05015.29
5.3.290.0050.04316.27
5.3.280.0080.04416.20
5.3.270.0100.04116.21
5.3.260.0060.04316.21
5.3.250.0090.04716.21
5.3.240.0080.05816.21
5.3.230.0090.05516.20
5.3.220.0110.04516.17
5.3.210.0120.04816.17
5.3.200.0070.03916.16
5.3.190.0070.04016.17
5.3.180.0110.03516.17
5.3.170.0080.03916.16
5.3.160.0050.04116.16
5.3.150.0060.04016.16
5.3.140.0090.04816.16
5.3.130.0100.05016.15
5.3.120.0100.04716.15
5.3.110.0110.03716.15
5.3.100.0070.03915.64
5.3.90.0070.04315.63
5.3.80.0080.03915.62
5.3.70.0080.03715.62
5.3.60.0090.03715.60
5.3.50.0090.03715.55
5.3.40.0040.04115.85
5.3.30.0130.03715.51
5.3.20.0110.03615.29
5.3.10.0060.04015.25
5.3.00.0090.03715.24
5.2.170.0110.03412.73
5.2.160.0060.03112.73
5.2.150.0050.03412.73
5.2.140.0060.03212.72
5.2.130.0070.03812.69
5.2.120.0050.03712.68
5.2.110.0080.03712.69
5.2.100.0090.02812.68
5.2.90.0100.03212.74
5.2.80.0100.04312.73
5.2.70.0080.03912.73
5.2.60.0120.03312.69
5.2.50.0090.03712.66
5.2.40.0050.03512.63
5.2.30.0080.03312.55
5.2.20.0080.03112.55
5.2.10.0060.03112.46
5.2.00.0110.02712.32
5.1.60.0080.02612.68
5.1.50.0060.03712.68
5.1.40.0080.02912.66
5.1.30.0090.03013.01
5.1.20.0060.03013.03
5.1.10.0040.03012.76
5.1.00.0080.03312.76
5.0.50.0060.02411.24
5.0.40.0030.02711.10
5.0.30.0010.03710.91
5.0.20.0030.02310.89
5.0.10.0070.03310.86
5.0.00.0020.03710.85
4.4.90.0040.0174.78
4.4.80.0030.0164.75
4.4.70.0020.0164.76
4.4.60.0030.0154.75
4.4.50.0000.0234.77
4.4.40.0020.0314.70
4.4.30.0020.0154.76
4.4.20.0020.0184.84
4.4.10.0050.0164.85
4.4.00.0040.0264.76
4.3.110.0040.0184.67
4.3.100.0040.0234.66
4.3.90.0020.0154.63
4.3.80.0020.0244.59
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0050.0174.63
4.3.40.0050.0284.54
4.3.30.0010.0283.28
4.3.20.0020.0163.26
4.3.10.0030.0163.22
4.3.00.0000.01315.27

preferences:
40.12 ms | 401 KiB | 5 Q