3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=10; $i>5; $i--){ echo $i."\n"; } $m = "that is a nice place"; eval($m); echo 'go'; ?> <!DOCTYPE html> <html><header> </header> <body> Name:<input type="text"/> </body> </html>

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.0090.00617.00
8.3.50.0070.01116.37
8.3.40.0000.01519.14
8.3.30.0040.01118.89
8.3.20.0040.00420.33
8.3.10.0080.00021.91
8.3.00.0040.00417.63
8.2.180.0140.00716.75
8.2.170.0000.01422.96
8.2.160.0110.00320.46
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00422.25
8.2.120.0040.00426.35
8.2.110.0060.00320.84
8.2.100.0090.00318.22
8.2.90.0040.00419.13
8.2.80.0040.00417.97
8.2.70.0050.00317.61
8.2.60.0000.00717.91
8.2.50.0050.00318.10
8.2.40.0040.00420.47
8.2.30.0030.00621.04
8.2.20.0000.00817.93
8.2.10.0000.00718.11
8.2.00.0030.00518.02
8.1.280.0210.00025.92
8.1.270.0050.00321.94
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0050.00323.91
8.1.230.0080.00318.91
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0030.00517.22
8.1.180.0030.00518.10
8.1.170.0090.00018.59
8.1.160.0040.00419.02
8.1.150.0000.00720.63
8.1.140.0000.00819.56
8.1.130.0050.00318.79
8.1.120.0000.00817.46
8.1.110.0040.00417.46
8.1.100.0050.00217.31
8.1.90.0070.00017.46
8.1.80.0030.00517.46
8.1.70.0000.00717.36
8.1.60.0080.00017.47
8.1.50.0030.00517.54
8.1.40.0030.00517.48
8.1.30.0100.00317.65
8.1.20.0040.00417.48
8.1.10.0040.00417.54
8.1.00.0030.00617.52
8.0.300.0070.00018.77
8.0.290.0050.00316.75
8.0.280.0030.00318.38
8.0.270.0050.00217.29
8.0.260.0000.00716.80
8.0.250.0070.00016.97
8.0.240.0060.00317.04
8.0.230.0000.00717.00
8.0.220.0000.00716.84
8.0.210.0000.00816.98
8.0.200.0030.00316.93
8.0.190.0030.00617.00
8.0.180.0000.00716.96
8.0.170.0000.00716.80
8.0.160.0030.00516.98
8.0.150.0030.00316.78
8.0.140.0040.00416.88
8.0.130.0050.00013.54
8.0.120.0000.00816.83
8.0.110.0040.00416.95
8.0.100.0080.00016.89
8.0.90.0000.00716.81
8.0.80.0140.00716.87
8.0.70.0000.00716.91
8.0.60.0040.00417.06
8.0.50.0040.00416.85
8.0.30.0100.01016.95
8.0.20.0070.01317.40
8.0.10.0030.00517.14
8.0.00.0030.01516.91
7.4.330.0020.00215.55
7.4.320.0060.00016.51
7.4.300.0000.00716.50
7.4.290.0030.00316.59
7.4.280.0040.00416.60
7.4.270.0040.00416.48
7.4.260.0000.00716.50
7.4.250.0040.00416.46
7.4.240.0070.00016.64
7.4.230.0000.00716.57
7.4.220.0150.00716.66
7.4.210.0070.01316.62
7.4.200.0040.00416.25
7.4.160.0090.00816.60
7.4.150.0110.00917.40
7.4.140.0110.00717.86
7.4.130.0070.01116.60
7.4.120.0090.00916.53
7.4.110.0140.00316.58
7.4.100.0140.00616.54
7.4.90.0130.00416.68
7.4.80.0120.00619.39
7.4.70.0140.00716.61
7.4.60.0130.00316.61
7.4.50.0100.00716.48
7.4.40.0180.00316.77
7.4.30.0070.01016.57
7.4.00.0070.01115.16
7.3.330.0000.00513.11
7.3.320.0000.00513.36
7.3.310.0070.00016.29
7.3.300.0060.00016.36
7.3.290.0040.00916.33
7.3.280.0080.00816.32
7.3.270.0060.01217.40
7.3.260.0100.00916.36
7.3.250.0110.01016.39
7.3.240.0090.01016.44
7.3.230.0060.01116.28
7.3.210.0140.00816.39
7.3.200.0060.00916.65
7.3.190.0030.01316.56
7.3.180.0120.00616.61
7.3.170.0090.00616.41
7.3.160.0110.00416.38
7.3.120.0050.01114.78
7.3.110.0030.01214.80
7.3.100.0040.00714.82
7.3.90.0070.00914.78
7.3.80.0030.00814.74
7.3.70.0050.00914.67
7.3.60.0050.00714.70
7.3.50.0140.00314.75
7.3.40.0060.00914.80
7.3.30.0050.00914.80
7.3.20.0020.01016.76
7.3.10.0040.01116.67
7.3.00.0050.00816.60
7.2.330.0060.01216.65
7.2.320.0060.01116.46
7.2.310.0060.01616.61
7.2.300.0130.01016.68
7.2.290.0110.00916.29
7.2.250.0000.01814.98
7.2.240.0030.01215.27
7.2.230.0070.00715.20
7.2.220.0040.01015.15
7.2.210.0060.00714.97
7.2.200.0080.00814.88
7.2.190.0100.00515.00
7.2.180.0030.01015.04
7.2.170.0070.00714.96
7.2.160.0030.00914.87
7.2.150.0040.01116.85
7.2.140.0100.00716.78
7.2.130.0080.00816.96
7.2.120.0110.00316.95
7.2.110.0170.00816.78
7.2.100.0130.00616.77
7.2.90.0160.00516.83
7.2.80.0180.00516.75
7.2.70.0080.00916.83
7.2.60.0080.00716.98
7.2.50.0100.00716.83
7.2.40.0140.00616.98
7.2.30.0090.00616.90
7.2.20.0080.00717.01
7.2.10.0130.00516.94
7.2.00.0100.00617.52
7.1.330.0020.01115.68
7.1.320.0020.00815.92
7.1.310.0070.00515.76
7.1.300.0050.00815.72
7.1.290.0030.01115.72
7.1.280.0090.00515.74
7.1.270.0090.00515.68
7.1.260.0090.00515.86
7.1.250.0020.01115.71
7.1.240.0040.00415.84
7.1.230.0070.00515.77
7.1.220.0140.01015.61
7.1.210.0190.00415.75
7.1.200.0120.00615.79
7.1.190.0180.00815.79
7.1.180.0150.00815.80
7.1.170.0170.00315.68
7.1.160.0090.00715.71
7.1.150.0090.00715.81
7.1.140.0060.00915.81
7.1.130.0150.00215.59
7.1.120.0150.00415.83
7.1.110.0130.00215.80
7.1.100.0110.00516.45
7.1.90.0110.00715.68
7.1.80.0080.00815.76
7.1.70.0120.00716.21
7.1.60.0140.01022.29
7.1.50.0210.00522.13
7.1.40.0170.00921.99
7.1.30.0170.00921.96
7.1.20.0130.01321.90
7.1.10.0140.00615.94
7.1.00.0060.01016.15
7.0.330.0070.00415.14
7.0.320.0060.00615.54
7.0.310.0130.00615.27
7.0.300.0150.00615.31
7.0.290.0150.00315.19
7.0.280.0100.00815.34
7.0.270.0130.00515.29
7.0.260.0100.00715.16
7.0.250.0120.00515.41
7.0.240.0150.00315.39
7.0.230.0090.00715.38
7.0.220.0330.00515.40
7.0.210.0100.00915.23
7.0.200.0140.01015.87
7.0.190.0090.00915.85
7.0.180.0080.01015.71
7.0.170.0140.00715.72
7.0.160.0110.01315.60
7.0.150.0110.01015.75
7.0.140.0080.01015.71
7.0.130.0070.00815.86
7.0.120.0070.00815.81
7.0.110.0090.00715.75
7.0.100.0110.00815.76
7.0.90.0120.00415.63
7.0.80.0150.00615.58
7.0.70.0080.00615.68
7.0.60.0150.00615.69
7.0.50.0060.00815.77
7.0.40.0080.00614.30
7.0.30.0090.00814.44
7.0.20.0070.00814.30
7.0.10.0060.01014.37
7.0.00.0060.00814.45
5.6.380.0040.01114.01

preferences:
33.66 ms | 401 KiB | 5 Q