3v4l.org

run code in 300+ PHP versions simultaneously
<?php while(1){ $a = file_get_contents('/etc/passwd'); echo $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)
8.3.60.0880.01418.43
8.3.50.0760.02121.93
8.3.40.0920.00718.57
8.3.30.0710.03019.10
8.3.20.0460.00720.28
8.3.10.0370.01423.39
8.3.00.0450.00020.95
8.2.180.0700.01718.16
8.2.170.0810.01622.96
8.2.160.0940.01020.52
8.2.150.0440.00924.18
8.2.140.0480.00624.66
8.2.130.0460.02626.16
8.2.120.0400.00321.04
8.2.110.0450.00622.31
8.2.100.0480.01320.32
8.2.90.0220.01019.17
8.2.80.0220.00917.97
8.2.70.0250.00617.75
8.2.60.0300.00717.89
8.2.50.0280.01018.07
8.2.40.0320.01019.76
8.2.30.0270.01018.28
8.2.20.0330.00017.82
8.2.10.0350.00418.09
8.2.00.0210.01119.67
8.1.280.0810.02725.92
8.1.270.0370.01323.71
8.1.260.0390.00626.35
8.1.250.0720.01028.09
8.1.240.0570.00322.11
8.1.230.0470.01319.08
8.1.220.0220.00917.78
8.1.210.0240.00718.77
8.1.200.0300.01317.35
8.1.190.0270.01017.23
8.1.180.0240.00718.10
8.1.170.0220.01318.19
8.1.160.0280.00322.01
8.1.150.0210.01118.51
8.1.140.0250.01617.34
8.1.130.0320.00017.96
8.1.120.0330.00317.50
8.1.110.0280.00317.35
8.1.100.0270.01417.35
8.1.90.0250.01117.49
8.1.80.0290.01017.43
8.1.70.0330.00317.39
8.1.60.0190.01317.61
8.1.50.0330.00717.57
8.1.40.0280.00417.49
8.1.30.0230.01017.63
8.1.20.0300.01017.61
8.1.10.0200.01717.56
8.1.00.0230.01317.49
8.0.300.0200.01318.77
8.0.290.0290.00716.63
8.0.280.0180.01418.41
8.0.270.0240.00717.33
8.0.260.0250.00617.27
8.0.250.0230.00717.09
8.0.240.0230.01316.85
8.0.230.0170.01416.89
8.0.220.0230.01316.95
8.0.210.0160.02316.96
8.0.200.0160.01317.00
8.0.190.0240.00716.96
8.0.180.0210.01216.88
8.0.170.0220.00916.95
8.0.160.0210.01416.96
8.0.150.0320.00616.89
8.0.140.0310.00716.88
8.0.130.0070.00713.30
8.0.120.0230.01316.87
8.0.110.0240.00716.86
8.0.100.0220.00616.77
8.0.90.0190.01016.87
8.0.80.0630.03316.85
8.0.70.0230.01316.70
8.0.60.0190.00916.87
8.0.50.0250.00716.95
8.0.30.1230.05417.13
8.0.20.1030.04817.40
8.0.10.0260.01016.86
8.0.00.1030.04316.66
7.4.330.0060.00615.08
7.4.320.0260.01316.41
7.4.300.0220.00716.23
7.4.290.0230.01616.43
7.4.280.0320.01116.32
7.4.270.0230.00716.25
7.4.260.0200.01616.42
7.4.250.0260.00316.30
7.4.240.0290.00816.37
7.4.230.0190.01016.52
7.4.220.0620.04116.43
7.4.210.0750.05916.43
7.4.200.0300.00016.22
7.4.160.1140.04516.14
7.4.150.1410.05917.40
7.4.140.1150.04217.86
7.4.130.1040.04116.46
7.4.120.1050.04216.43
7.4.110.1080.04216.54
7.4.100.1170.04916.33
7.4.90.1500.02116.31
7.4.80.0780.07119.39
7.4.70.1070.02716.31
7.4.60.0640.05416.34
7.4.50.0180.00416.30
7.4.40.0750.03916.49
7.4.30.0730.04716.18
7.4.00.0070.01315.01
7.3.330.0100.00513.24
7.3.320.0150.00013.16
7.3.310.0230.01316.21
7.3.300.0270.00716.22
7.3.290.0590.02916.31
7.3.280.0730.04016.24
7.3.270.0850.05017.40
7.3.260.1070.04416.07
7.3.250.1170.03016.16
7.3.240.1260.04216.31
7.3.230.1100.02716.39
7.3.210.1120.04916.45
7.3.200.0930.02319.39
7.3.190.1270.05316.27
7.3.180.0770.03416.32
7.3.170.0740.03716.27
7.3.160.1230.05016.25
7.3.120.0100.01014.90
7.2.330.0910.04916.38
7.2.320.1200.02416.63
7.2.310.0920.06016.29
7.2.300.0840.06016.57
7.2.290.0980.02716.26
7.1.100.0080.01217.87
7.1.70.0120.00216.57
7.1.60.0130.00719.70
7.1.50.0060.00616.98
7.0.200.0000.00816.76

preferences:
35.93 ms | 401 KiB | 5 Q