3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; define('true', false); function test() { var_dump(true); } foo::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.0140.00716.63
8.3.50.0160.00321.21
8.3.40.0000.01418.96
8.3.30.0110.00418.84
8.3.20.0040.01120.33
8.3.10.0120.00323.53
8.3.00.0070.00021.97
8.2.180.0030.01118.44
8.2.170.0070.00722.96
8.2.160.0090.00620.36
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.79
8.2.120.0030.00626.35
8.2.110.0030.00621.12
8.2.100.0060.00617.80
8.2.90.0040.00419.27
8.2.80.0080.00017.97
8.2.70.0070.00317.63
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0000.00822.27
8.2.30.0000.00819.38
8.2.20.0030.00617.80
8.2.10.0030.00518.09
8.2.00.0060.00318.04
8.1.280.0180.00325.92
8.1.270.0150.00622.04
8.1.260.0070.00028.09
8.1.250.0050.00228.09
8.1.240.0040.00422.42
8.1.230.0040.00719.10
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.11
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0000.00818.52
8.1.160.0000.00720.68
8.1.150.0070.00018.81
8.1.140.0040.00419.53
8.1.130.0050.00317.58
8.1.120.0070.00017.24
8.1.110.0070.00017.37
8.1.100.0000.00817.19
8.1.90.0060.00317.38
8.1.80.0040.00417.38
8.1.70.0050.00317.20
8.1.60.0000.00817.46
8.1.50.0040.00417.39
8.1.40.0000.00817.44
8.1.30.0030.00517.53
8.1.20.0000.00817.61
8.1.10.0040.00417.51
8.1.00.0000.00717.52
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0030.00318.43
8.0.270.0040.00417.07
8.0.260.0000.00617.18
8.0.250.0000.00617.00
8.0.240.0060.00016.80
8.0.230.0000.00716.93
8.0.220.0000.00716.92
8.0.210.0030.00316.88
8.0.200.0070.00016.92
8.0.190.0000.00716.96
8.0.180.0000.00716.95
8.0.170.0000.00716.78
8.0.160.0000.00716.79
8.0.150.0040.00416.84
8.0.140.0000.00716.87
8.0.130.0030.00313.33
8.0.120.0000.00816.88
8.0.110.0000.00716.71
8.0.100.0040.00416.89
8.0.90.0050.00316.77
8.0.80.0030.01216.82
8.0.70.0040.00416.91
8.0.60.0040.00416.77
8.0.50.0070.00016.77
8.0.30.0060.01016.95
8.0.20.0120.00717.40
8.0.10.0000.00816.90
8.0.00.0060.01216.75
7.4.330.0020.00216.67
7.4.320.0000.00616.30
7.4.300.0070.00016.49
7.4.290.0030.00716.59
7.4.280.0000.00716.42
7.4.270.0040.00416.44
7.4.260.0060.00316.32
7.4.250.0040.00416.41
7.4.240.0070.00016.50
7.4.230.0030.00316.55
7.4.220.0100.00916.50
7.4.210.0090.00616.39
7.4.200.0000.00716.32
7.4.160.0060.01016.56
7.4.150.0100.00717.40
7.4.140.0150.01217.86
7.4.130.0060.01216.51
7.4.120.0050.01616.56
7.4.110.0120.00616.61
7.4.100.0030.01316.48
7.4.90.0070.01016.54
7.4.80.0090.00919.39
7.4.70.0130.01016.45
7.4.60.0070.01016.43
7.4.50.0040.01116.03
7.4.40.0060.01016.52
7.4.30.0060.01216.38
7.4.00.0060.00915.14
7.3.330.0000.00513.29
7.3.320.0030.00313.15
7.3.310.0030.00316.05
7.3.300.0000.00616.30
7.3.290.0030.00316.25
7.3.280.0100.00716.28
7.3.270.0070.01117.40
7.3.260.0070.01116.25
7.3.250.0110.00716.46
7.3.240.0060.01116.46
7.3.230.0160.00616.39
7.3.210.0080.00816.37
7.3.200.0030.01219.39
7.3.190.0070.01316.44
7.3.180.0160.00616.47
7.3.170.0060.01516.63
7.3.160.0100.00616.56
7.3.10.0070.00516.60
7.3.00.0050.00716.70
7.2.330.0150.01316.55
7.2.320.0060.01316.52
7.2.310.0100.00716.39
7.2.300.0100.00716.59
7.2.290.0180.00316.32
7.2.130.0050.00916.85
7.2.120.0040.00816.76
7.2.110.0080.00316.80
7.2.100.0090.00516.64
7.2.90.0070.00516.79
7.2.80.0020.01116.74
7.2.70.0050.00816.73
7.2.60.0090.00516.75
7.2.50.0060.00716.72
7.2.40.0060.00916.54
7.2.30.0050.00916.40
7.2.20.0080.00216.72
7.2.10.0090.00516.79
7.2.00.0090.00316.80
7.1.250.0020.01015.52
7.1.200.0040.00815.40
7.1.70.0030.00617.03
7.1.60.0100.01019.40
7.1.50.0030.01916.77
7.1.00.0030.07722.43
7.0.200.0030.00616.75
7.0.60.0100.07021.72
7.0.50.0100.07717.97
7.0.40.0070.09020.13
7.0.30.0270.04020.11
7.0.20.0230.04320.19
7.0.10.0030.09020.20
7.0.00.0130.08020.13
5.6.280.0000.07721.13
5.6.210.0030.08720.53
5.6.200.0070.08718.16
5.6.190.0030.07020.61
5.6.180.0330.05720.69
5.6.170.0470.06720.55
5.6.160.0030.05020.50
5.6.150.0030.09018.23
5.6.140.0100.08018.25
5.6.130.0070.08318.11
5.6.120.0100.07320.98
5.6.110.0000.07321.02
5.6.100.0130.07720.98
5.6.90.0100.08021.10
5.6.80.0030.03720.34
5.5.350.4000.04720.34
5.5.340.0100.06717.97
5.5.330.0000.09020.36
5.5.320.0530.07320.31
5.5.310.0130.07320.29
5.5.300.0070.08017.91
5.5.290.0070.06717.94
5.5.280.0000.09320.88
5.5.270.0200.07720.68
5.5.260.0070.08320.80
5.5.250.0100.08020.71
5.5.240.0200.07320.24

preferences:
44.41 ms | 401 KiB | 5 Q