3v4l.org

run code in 300+ PHP versions simultaneously
<?php function say hello() { echo 'Hello world'; } say hello();

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.130.0080.00018.29
8.3.120.0080.00018.86
8.3.110.0080.00020.94
8.3.100.0000.01116.51
8.3.90.0120.00616.18
8.3.80.0030.00718.36
8.3.70.0110.00416.63
8.3.60.0100.01016.63
8.3.50.0080.00916.40
8.3.40.0080.00618.84
8.3.30.0140.00018.68
8.3.20.0000.00821.62
8.3.10.0080.00021.77
8.3.00.0080.00019.56
8.2.250.0090.00916.66
8.2.240.0080.00018.70
8.2.230.0090.00022.58
8.2.220.0040.00424.06
8.2.210.0050.00226.77
8.2.200.0090.00318.29
8.2.190.0200.00016.58
8.2.180.0090.00618.04
8.2.170.0140.00322.96
8.2.160.0100.00619.16
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0000.00720.69
8.2.110.0030.00722.09
8.2.100.0110.00017.84
8.2.90.0050.00317.84
8.2.80.0030.00619.17
8.2.70.0050.00317.50
8.2.60.0030.00517.38
8.2.50.0080.00017.25
8.2.40.0060.00317.93
8.2.30.0040.00417.99
8.2.20.0040.00417.94
8.2.10.0040.00417.91
8.2.00.0030.00617.81
8.1.300.0040.00417.71
8.1.290.0100.00018.88
8.1.280.0100.00625.92
8.1.270.0030.00624.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00722.48
8.1.230.0050.00520.90
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.11
8.1.190.0060.00317.23
8.1.180.0090.00018.10
8.1.170.0040.00417.62
8.1.160.0000.00718.75
8.1.150.0040.00420.30
8.1.140.0040.00419.44
8.1.130.0040.00419.15
8.1.120.0000.00817.32
8.1.110.0000.00817.21
8.1.100.0050.00317.30
8.1.90.0050.00217.30
8.1.80.0040.00417.22
8.1.70.0000.00717.21
8.1.60.0040.00417.50
8.1.50.0000.00717.33
8.1.40.0040.00417.43
8.1.30.0000.00717.54
8.1.20.0030.00617.41
8.1.10.0000.00917.41
8.1.00.0040.00417.35
8.0.300.0000.00720.08
8.0.290.0030.00716.58
8.0.280.0070.00018.25
8.0.270.0040.00416.70
8.0.260.0070.00018.54
8.0.250.0070.00016.73
8.0.240.0070.00016.84
8.0.230.0040.00416.80
8.0.220.0050.00216.75
8.0.210.0030.00516.65
8.0.200.0030.00316.84
8.0.190.0090.00016.75
8.0.180.0000.00716.78
8.0.170.0000.00716.82
8.0.160.0000.00716.80
8.0.150.0030.00616.61
8.0.140.0070.00416.74
8.0.130.0040.00413.17
8.0.120.0040.00416.73
8.0.110.0000.00716.62
8.0.100.0030.00516.64
8.0.90.0070.00016.55
8.0.80.0030.01216.79
8.0.70.0000.00916.73
8.0.60.0040.00416.77
8.0.50.0070.00016.79
8.0.30.0100.00716.85
8.0.20.0110.01017.40
8.0.10.0000.00816.88
8.0.00.0150.00916.52
7.4.330.0000.00515.55
7.4.320.0040.00416.39
7.4.300.0030.00316.43
7.4.290.0030.00616.33
7.4.280.0050.00316.35
7.4.270.0000.00716.42
7.4.260.0030.00316.28
7.4.250.0000.00716.39
7.4.240.0000.00716.44
7.4.230.0000.00716.34
7.4.220.0090.00916.59
7.4.210.0110.00716.48
7.4.200.0030.00316.27
7.4.160.0120.00616.49
7.4.150.0130.00317.40
7.4.140.0180.01317.86
7.4.130.0110.01416.48
7.4.120.0110.01016.41
7.4.110.0130.00316.71
7.4.100.0100.00616.47
7.4.90.0090.00916.65
7.4.80.0090.00817.88
7.4.70.0070.01016.42
7.4.60.0110.00716.21
7.4.50.0090.00716.43
7.4.40.0130.00616.46
7.4.30.0080.01016.36
7.4.20.0110.01016.34
7.4.10.0080.01316.45
7.4.00.0030.01415.52
7.3.330.0000.00613.28
7.3.320.0000.00513.05
7.3.310.0040.00416.08
7.3.300.0030.00516.32
7.3.290.0070.00916.20
7.3.280.0070.00716.15
7.3.270.0100.00717.40
7.3.260.0080.00916.55
7.3.250.0120.00616.25
7.3.240.0140.00316.45
7.3.230.0060.01216.50
7.3.210.0070.01316.26
7.3.200.0100.00716.30
7.3.190.0080.01016.42
7.3.180.0080.00916.32
7.3.170.0120.00816.26
7.3.160.0080.01116.32
7.3.150.0070.01116.30
7.3.140.0080.01216.29
7.3.130.0100.01116.13
7.3.120.0090.00915.64
7.3.110.0120.00415.59
7.3.100.0210.00715.25
7.3.90.0200.00915.27
7.3.80.0180.00915.04
7.3.70.0100.00714.99
7.3.60.0070.00915.11
7.3.50.0200.00915.05
7.3.40.0080.00815.00
7.3.30.0110.01215.04
7.3.20.0290.01015.34
7.3.10.0300.00815.25
7.3.00.0330.00615.31
7.2.330.0110.00816.26
7.2.320.0080.00916.54
7.2.310.0040.01316.42
7.2.300.0100.00716.56
7.2.290.0110.00716.51
7.2.280.0050.01316.42
7.2.270.0080.01316.57
7.2.260.0130.00716.55
7.2.250.0080.00915.58
7.2.240.0100.01015.87
7.2.230.0080.00915.92
7.2.220.0090.01215.46
7.2.210.0090.01015.34
7.2.200.0340.00615.14
7.2.190.0220.00915.16
7.2.180.0100.00715.22
7.2.170.0210.00815.10
7.2.160.0190.01015.12
7.2.150.0550.00815.40
7.2.140.0380.00815.43
7.2.130.0310.01015.38
7.2.120.0210.01015.35
7.2.110.0320.00815.48
7.2.100.0250.01115.43
7.2.90.0310.00815.44
7.2.80.0310.00715.61
7.2.70.0340.00915.46
7.2.60.0230.00915.64
7.2.50.0450.00715.49
7.2.40.0210.01115.50
7.2.30.0170.01015.45
7.2.20.0200.00915.52
7.2.10.0250.00715.49
7.2.00.0180.00815.60
7.1.330.0120.00814.92
7.1.320.0330.00914.35
7.1.310.0370.00714.24
7.1.300.0210.00714.31
7.1.290.0360.00814.33
7.1.280.0380.00714.33
7.1.270.0320.00614.40
7.1.260.0280.00714.34
7.1.250.0290.00714.40
7.1.240.0320.00614.26
7.1.230.0460.00714.22
7.1.220.0480.00614.36
7.1.210.0330.00814.20
7.1.200.0280.00814.40
7.1.190.0260.00814.30
7.1.180.0240.00814.20
7.1.170.0450.00714.23
7.1.160.0230.00814.37
7.1.150.0450.00614.35
7.1.140.0280.00714.28
7.1.130.0230.00914.27
7.1.120.0190.00914.35
7.1.110.0210.00814.39
7.1.100.0220.00814.35
7.1.90.0160.00814.83
7.1.80.0200.00714.82
7.1.70.0140.00814.86
7.1.60.0230.00916.96
7.1.50.0130.00916.78
7.1.40.0160.00816.78
7.1.30.0190.00916.85
7.1.20.0250.00916.79
7.1.10.0200.00814.76
7.1.00.0180.00814.77
7.0.330.0400.00813.86
7.0.320.0310.01013.99
7.0.310.0260.00813.89
7.0.300.0240.00913.93
7.0.290.0390.01013.97
7.0.280.0220.01014.06
7.0.270.0230.00614.05
7.0.260.0250.00614.01
7.0.250.0340.00814.01
7.0.240.0230.00614.20
7.0.230.0180.01014.40
7.0.220.0220.00714.51
7.0.210.0190.01014.38
7.0.200.0190.00914.60
7.0.190.0280.00914.62
7.0.180.0210.00714.52
7.0.170.0180.00914.56
7.0.160.0190.00814.58
7.0.150.0180.00914.51
7.0.140.0170.01114.51
7.0.130.0210.00814.56
7.0.120.0250.00914.64
7.0.110.0310.00714.27
7.0.100.0160.00914.40
7.0.90.0200.00814.42
7.0.80.0190.00914.57
7.0.70.0210.00714.48
7.0.60.0120.00914.56
7.0.50.0180.00714.60
7.0.40.0180.00914.53
7.0.30.0190.00714.55
7.0.20.0250.00814.43
7.0.10.0170.00814.52
7.0.00.0300.00814.41
5.6.400.0280.00714.45
5.6.390.0280.00714.40
5.6.380.0120.01014.37
5.6.370.0160.00715.64
5.6.360.0190.00815.77
5.6.350.0190.00815.73
5.6.340.0170.01115.65
5.6.330.0180.00915.70
5.6.320.0190.01115.84
5.6.310.0190.00915.83
5.6.300.0160.01215.64
5.6.290.0180.01215.65
5.6.280.0130.01415.77
5.6.270.0200.00715.74
5.6.260.0190.00915.81
5.6.250.0130.01415.68
5.6.240.0130.01115.64
5.6.230.0230.00615.77
5.6.220.0140.01415.54
5.6.210.0120.01615.61
5.6.200.0160.01015.68
5.6.190.0180.01115.61
5.6.180.0190.00715.66
5.6.170.0140.01315.56
5.6.160.0160.01315.58
5.6.150.0150.01215.69
5.6.140.0120.01515.78
5.6.130.0170.01115.81
5.6.120.0140.01315.72
5.6.110.0190.01215.55
5.6.100.0140.01515.47
5.6.90.0240.00415.59
5.6.80.0200.00815.56
5.6.70.0180.00915.73
5.6.60.0170.01115.72
5.6.50.0170.01015.58
5.6.40.0190.01215.69
5.6.30.0170.00915.65
5.6.20.0170.00715.47
5.6.10.0140.01015.65
5.6.00.0160.00915.49

preferences:
27.27 ms | 403 KiB | 5 Q