3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fname = 'graci.txt'; $fp = fopen('graci.txt', file_exists($fname) ? 'a+' : 'w+');

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.0110.01116.63
8.3.50.0120.00716.39
8.3.40.0090.00618.46
8.3.30.0140.00018.71
8.3.20.0050.00318.73
8.3.10.0040.00418.82
8.3.00.0070.00417.59
8.2.180.0150.00418.79
8.2.170.0140.00322.96
8.2.160.0100.01020.53
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00020.35
8.2.110.0100.00021.00
8.2.100.0070.00417.71
8.2.90.0000.00919.34
8.2.80.0040.00419.30
8.2.70.0040.00417.13
8.2.60.0070.00417.55
8.2.50.0040.00418.07
8.2.40.0050.00218.16
8.2.30.0050.00218.03
8.2.20.0030.00617.50
8.2.10.0040.00417.64
8.2.00.0000.00917.55
8.1.280.0070.01125.92
8.1.270.0000.00724.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00422.52
8.1.230.0070.00420.91
8.1.220.0080.00017.77
8.1.210.0040.00418.97
8.1.200.0030.00617.23
8.1.190.0070.00017.28
8.1.180.0050.00318.10
8.1.170.0000.00718.79
8.1.160.0000.00718.80
8.1.150.0040.00418.55
8.1.140.0050.00217.46
8.1.130.0040.00417.82
8.1.120.0000.00717.29
8.1.110.0000.00817.31
8.1.100.0000.00717.42
8.1.90.0000.00717.28
8.1.80.0000.00817.38
8.1.70.0030.00317.33
8.1.60.0040.00417.50
8.1.50.0000.00917.43
8.1.40.0000.00817.45
8.1.30.0040.00417.59
8.1.20.0070.00017.65
8.1.10.0000.00717.46
8.1.00.0040.00417.42
8.0.300.0000.00820.01
8.0.290.0030.00616.88
8.0.280.0070.00018.36
8.0.270.0000.00717.21
8.0.260.0000.00616.89
8.0.250.0000.00717.03
8.0.240.0070.00017.02
8.0.230.0000.00717.03
8.0.220.0020.00516.98
8.0.210.0040.00416.84
8.0.200.0000.00816.88
8.0.190.0000.00816.97
8.0.180.0090.00016.99
8.0.170.0000.00816.89
8.0.160.0030.00416.99
8.0.150.0030.00516.82
8.0.140.0040.00716.88
8.0.130.0060.00013.38
8.0.120.0070.00016.94
8.0.110.0000.00717.01
8.0.100.0040.00416.83
8.0.90.0000.00717.04
8.0.80.0090.01216.84
8.0.70.0040.00416.96
8.0.60.0030.00516.73
8.0.50.0080.00016.95
8.0.30.0130.01016.83
8.0.20.0120.00816.89
8.0.10.0000.00817.00
8.0.00.0050.01316.74
7.4.330.0040.00412.93
7.4.320.0040.00416.36
7.4.300.0000.00616.54
7.4.290.0060.00316.45
7.4.280.0040.00416.45
7.4.270.0080.00016.55
7.4.260.0000.00613.31
7.4.250.0000.00816.50
7.4.240.0000.00716.59
7.4.230.0070.00016.65
7.4.220.0160.01016.41
7.4.210.0100.00816.52
7.4.200.0070.00016.44
7.4.190.0030.00316.69
7.4.160.0130.00316.36
7.4.150.0060.01216.48
7.4.140.0050.01516.44
7.4.130.0070.01016.46
7.4.120.0130.00716.53
7.4.110.0090.01016.65
7.4.100.0080.00816.29
7.4.90.0090.00916.52
7.4.80.0100.00719.39
7.4.70.0150.00316.62
7.4.60.0060.01016.32
7.4.50.0060.00616.45
7.4.40.0030.01016.46
7.4.30.0100.00716.38
7.4.00.0080.00814.86
7.3.330.0030.00313.01
7.3.320.0000.00513.09
7.3.310.0040.00416.35
7.3.300.0000.00716.33
7.3.290.0070.00716.21
7.3.280.0120.00716.25
7.3.270.0030.01316.34
7.3.260.0090.01716.19
7.3.250.0120.00916.11
7.3.240.0130.00316.46
7.3.230.0060.01016.20
7.3.210.0070.01416.38
7.3.200.0060.01616.21
7.3.190.0060.01616.19
7.3.180.0110.00516.38
7.3.170.0100.00716.38
7.3.160.0040.01116.15
7.3.120.0060.01014.78
7.3.10.0090.00616.43
7.3.00.0120.00316.46
7.2.330.0140.00316.54
7.2.320.0120.00616.66
7.2.310.0130.00616.63
7.2.300.0080.00816.50
7.2.290.0080.00916.47
7.2.130.0040.00916.65
7.2.120.0090.00716.64
7.2.110.0060.00516.76
7.2.100.0030.01116.76
7.2.90.0040.00716.65
7.2.80.0050.00816.86
7.2.70.0060.00516.63
7.2.60.0030.01116.85
7.2.50.0120.00316.81
7.2.40.0050.00716.70
7.2.30.0070.00916.79
7.2.20.0100.00816.66
7.2.10.0090.00816.67
7.2.00.0050.01117.64
7.1.250.0070.00615.60
7.1.200.0070.01015.71
7.1.100.0030.01018.28
7.1.70.0050.00216.95
7.1.60.0090.00919.40
7.1.50.0070.01516.80
7.1.00.0000.07722.29
7.0.200.0310.00914.75
7.0.140.0130.06321.97
7.0.120.0070.06322.13
7.0.60.0030.08719.91
7.0.50.0030.04317.81
7.0.40.0000.08017.84
7.0.30.0100.08317.74
7.0.20.0070.07017.69
7.0.10.0100.08017.75
7.0.00.0100.04017.72
5.6.280.0070.06721.06
5.6.210.0070.04320.74
5.6.200.0100.07018.09
5.6.190.0030.08018.22
5.6.180.0130.06718.11
5.6.170.0100.07718.15
5.6.160.0000.04718.16
5.6.150.0070.08018.21
5.6.140.0000.04318.12
5.6.130.0070.08018.17
5.6.120.0070.08018.07
5.6.110.0030.05718.18
5.6.100.0200.07018.14
5.6.90.0130.07718.06
5.6.80.0070.07717.55
5.6.70.0100.05317.45
5.6.60.0070.07717.57
5.6.50.0100.07017.47
5.6.40.0030.07017.52
5.6.30.0100.07717.57
5.6.20.0100.07717.46
5.6.10.0100.07317.50
5.6.00.0130.06317.52
5.5.350.0370.07020.41
5.5.340.0170.04717.88
5.5.330.0030.05317.99
5.5.320.0100.07317.96
5.5.310.0070.08718.02
5.5.300.0130.06317.92
5.5.290.0070.08718.02
5.5.280.0070.07317.95
5.5.270.0030.07717.87
5.5.260.0100.04717.88
5.5.250.0100.06017.73
5.5.240.0100.05317.37
5.5.230.0070.05017.39
5.5.220.0130.04317.29
5.5.210.0030.07017.29
5.5.200.0130.07717.30
5.5.190.0070.08717.31
5.5.180.0070.08017.35
5.5.160.0130.05317.30
5.5.150.0030.07317.29
5.5.140.0070.07317.24
5.5.130.0200.06717.31
5.5.120.0130.07017.32
5.5.110.0100.03717.23
5.5.100.0030.06017.17
5.5.90.0100.07717.13
5.5.80.0170.06717.19
5.5.70.0070.07717.19
5.5.60.0030.06717.19
5.5.50.0070.04317.20
5.5.40.0070.04317.16
5.5.30.0070.04717.22
5.5.20.0070.03717.16
5.5.10.0100.07717.15
5.5.00.0030.07017.21
5.4.450.0170.03319.28
5.4.440.0130.06719.21
5.4.430.0100.04719.30
5.4.420.0070.08319.33
5.4.410.0070.06319.31
5.4.400.0130.07018.89
5.4.390.0070.06719.11
5.4.380.0070.03719.11
5.4.370.0100.07718.98
5.4.360.0130.06319.09
5.4.350.0100.08018.98
5.4.340.0030.07319.03
5.4.320.0070.07718.95
5.4.310.0100.03318.95
5.4.300.0070.03718.98
5.4.290.0130.03019.11
5.4.280.0030.05019.02
5.4.270.0070.06018.96
5.4.260.0130.05318.89
5.4.250.0070.05318.98
5.4.240.0170.07319.09
5.4.230.0070.08018.96
5.4.220.0030.08319.10
5.4.210.0070.06018.82
5.4.200.0130.06019.00
5.4.190.0170.06718.90
5.4.180.0030.04019.00
5.4.170.0070.07718.98
5.4.160.0030.05318.99
5.4.150.0070.04718.80
5.4.140.0100.04316.18
5.4.130.0070.07316.17
5.4.120.0030.04016.30
5.4.110.0100.05716.41
5.4.100.0100.07016.28
5.4.90.0030.05716.41
5.4.80.0070.05316.17
5.4.70.0030.04316.35
5.4.60.0170.04316.25
5.4.50.0200.06316.25
5.4.40.0030.06716.31
5.4.30.0030.04016.51
5.4.20.0070.07016.14
5.4.10.0070.05716.34
5.4.00.0130.03315.71
5.3.290.0070.04014.65
5.3.280.0130.07014.56
5.3.270.0100.07714.56
5.3.260.0100.04314.54
5.3.250.0000.08014.57
5.3.240.0030.07314.56
5.3.230.0070.06314.56
5.3.220.0070.03314.34
5.3.210.0070.06314.50
5.3.200.0000.05014.49
5.3.190.0100.06014.54
5.3.180.0000.04314.39
5.3.170.0030.08014.64
5.3.160.0070.04314.52
5.3.150.0030.07014.64
5.3.140.0000.07014.38
5.3.130.0030.07714.63
5.3.120.0130.05014.63
5.3.110.0070.06714.32
5.3.100.0030.06014.00
5.3.90.0130.04013.84
5.3.80.0100.07714.08
5.3.70.0070.03713.96
5.3.60.0000.04013.93
5.3.50.0000.04713.88
5.3.40.0170.05313.91
5.3.30.0030.07313.83
5.3.20.0130.07713.65
5.3.10.0100.03313.61
5.3.00.0070.05713.62
5.2.170.0100.04310.97
5.2.160.0070.03711.13
5.2.150.0070.04711.09
5.2.140.0070.06011.00
5.2.130.0130.05011.13
5.2.120.0070.04011.04
5.2.110.0070.03010.92
5.2.100.0030.03011.24
5.2.90.0030.06311.06
5.2.80.0030.07011.07
5.2.70.0000.06710.91
5.2.60.0030.03711.00
5.2.50.0100.06011.05
5.2.40.0000.04010.98
5.2.30.0000.03710.94
5.2.20.0170.02710.92
5.2.10.0130.05710.81
5.2.00.0100.05310.68
5.1.60.0070.03010.04
5.1.50.0070.0539.97
5.1.40.0070.0509.94
5.1.30.0070.05710.27
5.1.20.0100.05010.36
5.1.10.0070.05710.03
5.1.00.0030.04310.13
5.0.50.0100.0408.61
5.0.40.0000.0238.36
5.0.30.0000.0678.18
5.0.20.0030.0308.17
5.0.10.0000.0278.20
5.0.00.0000.0338.20
4.4.90.0000.0178.00
4.4.80.0030.0338.00
4.4.70.0000.0208.00
4.4.60.0030.0138.00
4.4.50.0000.0378.00
4.4.40.0000.0578.00
4.4.30.0030.0278.00
4.4.20.0000.0408.00
4.4.10.0030.0208.00
4.4.00.0000.0408.00
4.3.110.0030.0308.00
4.3.100.0030.0338.00
4.3.90.0030.0238.00
4.3.80.0070.0508.00
4.3.70.0070.0278.00
4.3.60.0000.0378.00
4.3.50.0070.0208.00
4.3.40.0070.0478.00
4.3.30.0070.0338.00
4.3.20.0000.0308.00
4.3.10.0000.0308.00
4.3.00.0000.0178.00

preferences:
34.5 ms | 400 KiB | 5 Q