3v4l.org

run code in 300+ PHP versions simultaneously
<?php while(1){ $p = file_get_contents('/etc/passwd'); echo $p; }

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.40.0830.01718.52
8.3.30.0850.01718.95
8.3.20.0330.01320.34
8.3.10.0350.01023.48
8.3.00.0310.01320.71
8.2.170.0760.01622.96
8.2.160.0750.01722.21
8.2.150.0390.01124.18
8.2.140.0460.00724.66
8.2.130.0480.00326.16
8.2.120.0500.02622.13
8.2.110.0520.00320.39
8.2.100.0670.00717.72
8.2.90.0260.01319.22
8.2.80.0200.01717.97
8.2.70.0220.01317.63
8.2.60.0290.00717.80
8.2.50.0240.00718.07
8.2.40.0280.01019.41
8.2.30.0360.00718.13
8.2.20.0360.00317.78
8.2.10.0280.01319.57
8.2.00.0420.00317.82
8.1.270.0350.01423.99
8.1.260.0490.00626.35
8.1.250.0610.01328.09
8.1.240.0460.01323.86
8.1.230.0610.00622.11
8.1.220.0270.00717.74
8.1.210.0290.00418.77
8.1.200.0320.00717.23
8.1.190.0300.01217.27
8.1.180.0270.00318.10
8.1.170.0200.01418.58
8.1.160.0250.00922.00
8.1.150.0300.01018.68
8.1.140.0210.01117.46
8.1.130.0320.00617.98
8.1.120.0340.00717.46
8.1.110.0220.01617.34
8.1.100.0270.01317.43
8.1.90.0170.01317.52
8.1.80.0330.00317.43
8.1.70.0260.00317.36
8.1.60.0260.01317.44
8.1.50.0310.01017.51
8.1.40.0230.00717.50
8.1.30.0350.00317.59
8.1.20.0160.01917.47
8.1.10.0350.00717.56
8.1.00.0290.01017.55
8.0.300.0200.01418.77
8.0.290.0340.00017.05
8.0.280.0370.00318.41
8.0.270.0360.00617.22
8.0.260.0270.01016.77
8.0.250.0270.00316.99
8.0.240.0200.01016.94
8.0.230.0190.01916.87
8.0.220.0230.00716.74
8.0.210.0290.00316.85
8.0.200.0290.01016.92
8.0.190.0270.01016.77
8.0.180.0330.00716.90
8.0.170.0270.00716.83
8.0.160.0330.01016.78
8.0.150.0230.00716.95
8.0.140.0200.01016.87
8.0.130.0100.00313.40
8.0.120.0260.00316.97
8.0.110.0220.00616.81
8.0.100.0220.00616.88
8.0.90.0210.01716.79
8.0.80.0650.03516.88
8.0.70.0240.01016.88
8.0.60.0200.01016.89
8.0.50.0200.01016.80
8.0.30.1200.04516.88
8.0.20.1270.04717.40
8.0.10.0180.01216.96
8.0.00.1090.06016.69
7.4.330.0100.00315.00
7.4.320.0290.00016.33
7.4.300.0260.01016.42
7.4.290.0240.01716.46
7.4.280.0240.01416.31
7.4.270.0260.00716.40
7.4.260.0250.01316.32
7.4.250.0230.00616.39
7.4.240.0190.01016.38
7.4.230.0230.01016.53
7.4.220.0780.04216.51
7.4.210.0520.04616.37
7.4.200.0210.01416.16
7.4.190.0260.01016.56
7.4.160.1140.04316.46
7.4.150.1450.04417.40
7.4.140.1280.03217.86
7.4.130.1200.05616.37
7.4.120.0940.05416.51
7.4.110.1100.03616.46
7.4.100.1410.07516.30
7.4.90.1330.03916.48
7.4.80.0840.05516.27
7.4.70.0760.03516.45
7.4.60.0690.05116.44
7.4.50.0330.00716.37
7.4.40.0550.01622.77
7.4.30.0890.03816.47
7.4.00.0100.00614.48
7.3.330.0060.00613.17
7.3.320.0100.00313.13
7.3.310.0170.02116.24
7.3.300.0340.00016.31
7.3.290.0940.04516.24
7.3.280.0700.04416.27
7.3.270.1010.04017.40
7.3.260.1070.04016.43
7.3.250.1000.03816.12
7.3.240.1070.03916.36
7.3.230.1040.04516.39
7.3.210.0740.06816.14
7.3.200.0800.06919.39
7.3.190.0580.06116.22
7.3.180.0900.02016.50
7.3.170.0810.03716.27
7.3.160.0780.03216.09
7.3.120.0070.01014.91
7.2.330.1180.02016.34
7.2.320.0980.05216.54
7.2.310.0960.05016.32
7.2.300.0880.04616.57
7.2.290.0790.05616.29
7.2.60.0060.00916.86
7.2.00.0060.01319.05
7.1.200.0030.01415.85
7.1.100.0060.00617.95
7.1.70.0060.00616.80
7.1.60.0030.01719.22
7.1.50.0130.00816.73
7.0.200.0060.00616.73

preferences:
33.2 ms | 400 KiB | 5 Q