3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { echo "this is a test function"; } test();

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.0070.00718.56
8.3.50.0130.00716.10
8.3.40.0040.01218.45
8.3.30.0120.00318.41
8.3.20.0080.00021.59
8.3.10.0030.00623.69
8.3.00.0050.00319.68
8.2.180.0150.00318.29
8.2.170.0110.00422.96
8.2.160.0100.00722.12
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00420.77
8.2.120.0040.00426.35
8.2.110.0100.01020.41
8.2.100.0060.00617.66
8.2.90.0000.00917.63
8.2.80.0030.00518.63
8.2.70.0050.00317.80
8.2.60.0050.00318.03
8.2.50.0040.00418.10
8.2.40.0040.00419.20
8.2.30.0040.00419.13
8.2.20.0060.00318.00
8.2.10.0040.00417.91
8.2.00.0000.00717.98
8.1.280.0070.00725.92
8.1.270.0030.00522.18
8.1.260.0080.00026.35
8.1.250.0030.00728.09
8.1.240.0080.00323.59
8.1.230.0090.00320.89
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0060.00317.11
8.1.190.0040.00417.11
8.1.180.0080.00018.10
8.1.170.0000.00818.45
8.1.160.0000.00818.79
8.1.150.0000.00720.26
8.1.140.0030.00617.60
8.1.130.0040.00418.94
8.1.120.0040.00417.28
8.1.110.0040.00417.35
8.1.100.0030.00617.38
8.1.90.0030.00517.30
8.1.80.0040.00417.36
8.1.70.0030.00317.34
8.1.60.0090.00017.52
8.1.50.0000.00717.48
8.1.40.0000.00717.45
8.1.30.0000.00817.55
8.1.20.0030.00617.40
8.1.10.0040.00417.36
8.1.00.0000.01217.35
8.0.300.0040.00420.16
8.0.290.0000.00716.63
8.0.280.0030.00318.28
8.0.270.0030.00617.05
8.0.260.0060.00016.74
8.0.250.0000.00716.84
8.0.240.0000.00716.79
8.0.230.0080.00316.86
8.0.220.0030.00316.63
8.0.210.0000.00716.79
8.0.200.0000.00616.81
8.0.190.0100.00016.77
8.0.180.0000.00816.84
8.0.170.0060.00316.76
8.0.160.0000.00716.79
8.0.150.0030.00516.75
8.0.140.0080.00016.55
8.0.130.0030.00313.10
8.0.120.0080.00016.68
8.0.110.0000.00716.78
8.0.100.0000.00716.75
8.0.90.0050.00316.84
8.0.80.0150.00716.77
8.0.70.0000.00716.80
8.0.60.0000.00716.80
8.0.50.0040.00416.75
8.0.30.0090.00817.07
8.0.20.0140.00617.40
8.0.10.0080.00016.76
8.0.00.0100.00716.65
7.4.330.0030.00315.55
7.4.320.0060.00016.36
7.4.300.0000.00616.41
7.4.290.0070.00016.54
7.4.280.0060.00316.42
7.4.270.0000.00716.57
7.4.260.0000.00716.55
7.4.250.0030.00316.39
7.4.240.0000.00616.35
7.4.230.0000.00716.27
7.4.220.0070.00016.32
7.4.210.0060.01316.45
7.4.200.0030.00316.48
7.4.160.0080.00816.44
7.4.140.0090.00917.86
7.4.130.0090.01216.32
7.4.120.0090.00816.55
7.4.110.0070.01016.38
7.4.100.0130.01016.54
7.4.90.0140.00416.38
7.4.80.0090.01419.39
7.4.70.0120.00616.29
7.4.60.0090.00616.26
7.4.50.0090.00316.22
7.4.40.0090.00616.58
7.4.00.0080.00314.77
7.3.330.0050.00013.15
7.3.320.0060.00013.09
7.3.310.0000.00716.21
7.3.300.0030.00316.24
7.3.290.0080.01016.22
7.3.280.0080.00916.21
7.3.260.0080.01016.34
7.3.240.0080.01116.44
7.3.230.0140.00416.27
7.3.210.0030.01916.29
7.3.200.0080.00816.60
7.3.190.0080.00816.35
7.3.180.0060.00916.30
7.3.170.0150.00816.14
7.3.160.0030.01216.46
7.2.330.0030.01416.54
7.2.320.0030.01616.68
7.2.310.0120.00916.66
7.2.300.0080.00816.38
7.2.290.0110.00616.62
7.2.60.0120.00316.57
7.2.20.0190.01319.63
7.2.10.0090.01319.69
7.2.00.0080.01619.65
7.1.200.0040.01115.58
7.1.140.0100.00818.23
7.1.130.0080.01118.40
7.1.120.0120.01018.41
7.1.110.0080.01217.88
7.1.100.0090.01317.73
7.1.90.0080.01217.87
7.1.80.0130.01018.00
7.1.70.0070.01417.07
7.1.60.0330.01935.05
7.1.50.0300.02134.59
7.1.40.0330.01634.26
7.1.30.0310.02134.35
7.1.20.0280.01634.43
7.1.10.0110.01116.54
7.1.00.0050.01516.52

preferences:
65.79 ms | 401 KiB | 5 Q