3v4l.org

run code in 300+ PHP versions simultaneously
<?php class somethingClass { public function aMethod() { print self::class . '::' . __METHOD__; } } $a = new somethingClass(); $a->aMethod();

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.70.0120.00316.25
8.3.60.0120.00316.38
8.3.50.0130.00318.04
8.3.40.0070.00718.90
8.3.30.0100.00718.52
8.3.20.0040.00422.33
8.3.10.0070.00022.07
8.3.00.0070.00020.57
8.2.190.0090.00616.58
8.2.180.0180.00016.38
8.2.170.0120.00322.96
8.2.160.0120.00322.02
8.2.150.0070.00024.18
8.2.140.0020.00524.66
8.2.130.0000.00726.16
8.2.120.0050.00321.05
8.2.110.0030.00620.33
8.2.100.0060.00618.03
8.2.90.0080.00017.75
8.2.80.0000.00817.97
8.2.70.0040.00418.04
8.2.60.0040.00418.09
8.2.50.0080.00018.10
8.2.40.0070.00019.34
8.2.30.0080.00019.21
8.2.20.0070.00017.82
8.2.10.0000.00719.42
8.2.00.0070.00019.14
8.1.280.0120.00625.92
8.1.270.0030.00622.46
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0210.00023.92
8.1.230.0070.00420.94
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.00
8.1.190.0000.00917.00
8.1.180.0040.00418.10
8.1.170.0000.00818.29
8.1.160.0040.00418.70
8.1.150.0000.00718.72
8.1.140.0000.00721.97
8.1.130.0000.00720.00
8.1.120.0070.00017.28
8.1.110.0020.00517.36
8.1.100.0000.00817.22
8.1.90.0000.01117.37
8.1.80.0000.00717.41
8.1.70.0070.00017.33
8.1.60.0030.00617.64
8.1.50.0080.00017.41
8.1.40.0030.00517.40
8.1.30.0080.00017.68
8.1.20.0050.00317.60
8.1.10.0000.00717.55
8.1.00.0040.00417.51
8.0.300.0070.00021.46
8.0.290.0040.00416.63
8.0.280.0000.00818.44
8.0.270.0000.00717.17
8.0.260.0030.00320.11
8.0.250.0000.00716.85
8.0.240.0030.00316.88
8.0.230.0070.00016.80
8.0.220.0040.00416.71
8.0.210.0040.00416.68
8.0.200.0040.00416.89
8.0.190.0000.00816.84
8.0.180.0000.00716.72
8.0.170.0030.00616.82
8.0.160.0070.00316.80
8.0.150.0000.00716.72
8.0.140.0040.00316.81
8.0.130.0080.00013.24
8.0.120.0040.00416.72
8.0.110.0050.00316.88
8.0.100.0000.00716.82
8.0.90.0030.00616.66
8.0.80.0040.01116.77
8.0.70.0040.00416.69
8.0.60.0030.00616.67
8.0.50.0040.00416.77
8.0.30.0130.00317.18
8.0.20.0090.01017.03
8.0.10.0040.00416.90
8.0.00.0100.00716.73
7.4.330.0040.00015.55
7.4.320.0000.00616.52
7.4.300.0000.00716.47
7.4.290.0000.00816.38
7.4.280.0040.00416.44
7.4.270.0030.00316.39
7.4.260.0000.00613.38
7.4.250.0030.00316.57
7.4.240.0030.00516.45
7.4.230.0040.00416.61
7.4.220.0030.00316.51
7.4.210.0080.00916.58
7.4.200.0000.00716.40
7.4.130.0100.00716.48
7.4.120.0130.00516.50
7.4.110.0070.01716.44
7.4.100.0110.00716.39
7.4.90.0070.01016.57
7.4.80.0110.01119.39
7.4.70.0160.00616.57
7.4.60.0160.00316.48
7.4.50.0000.01616.38
7.4.40.0090.00616.18
7.4.10.0050.01214.94
7.4.00.0080.01114.91
7.3.330.0000.00716.09
7.3.320.0000.00513.23
7.3.310.0000.00716.22
7.3.300.0000.00716.11
7.3.290.0030.00316.27
7.3.280.0100.01016.25
7.3.260.0090.00916.33
7.3.240.0090.01116.29
7.3.230.0080.00816.48
7.3.210.0190.00316.22
7.3.200.0120.00316.33
7.3.190.0060.00916.32
7.3.180.0100.00716.36
7.3.170.0100.00716.32
7.3.160.0060.01016.41
7.3.130.0100.00714.59
7.3.120.0080.01114.76
7.3.110.0050.01114.65
7.3.100.0070.00814.77
7.3.90.0100.00414.67
7.3.80.0070.00614.53
7.3.70.0030.00814.48
7.3.60.0070.01014.61
7.3.50.0080.00614.60
7.3.40.0070.00814.75
7.3.30.0070.00614.74
7.3.20.0200.00615.97
7.3.10.0220.00815.78
7.3.00.0360.00515.94
7.2.330.0060.01116.59
7.2.320.0070.01016.64
7.2.310.0070.01116.63
7.2.300.0160.00516.59
7.2.290.0070.01616.73
7.2.260.0050.01315.24
7.2.250.0080.00914.91
7.2.240.0100.00315.05
7.2.230.0040.01114.96
7.2.220.0070.00714.90
7.2.210.0070.00814.84
7.2.200.0030.00914.68
7.2.190.0060.01014.80
7.2.180.0030.00914.90
7.2.170.0060.01214.88
7.2.160.0060.01115.03
7.2.150.0210.00916.04
7.2.140.0190.00516.12
7.2.130.0080.01216.13
7.2.120.0140.00616.26
7.2.110.0220.01016.23
7.2.100.0210.00616.07
7.2.90.0200.00816.23
7.2.80.0210.00816.05
7.2.70.0510.01116.17
7.2.60.0240.00816.02
7.2.50.0170.01016.13
7.2.40.0250.00616.16
7.2.30.0200.00716.12
7.2.20.0140.01116.04
7.2.10.0110.00816.27
7.2.00.0200.00916.12
7.1.330.0030.01015.71
7.1.320.0220.01114.82
7.1.310.0100.00614.96
7.1.300.0520.00714.90
7.1.290.0130.00214.84
7.1.280.0310.00414.88
7.1.270.0180.00714.90
7.1.260.0100.01014.95
7.1.250.0220.00614.94
7.1.240.0050.00515.58
7.1.230.0040.00715.70
7.1.220.0050.00715.64
7.1.210.0100.00315.51
7.1.200.0060.00615.44
7.1.190.0100.00315.62
7.1.180.0020.00815.50
7.1.170.0050.00415.50
7.1.160.0050.00515.43
7.1.150.0020.01115.67
7.1.140.0020.01015.58
7.1.130.0060.00415.58
7.1.120.0050.00715.64
7.1.110.0040.00415.71
7.1.100.0040.00915.76
7.1.90.0080.00415.46
7.1.80.0040.01015.62
7.1.70.0070.00615.63
7.1.60.0060.00615.64
7.1.50.0040.01115.69
7.1.40.0020.01215.66
7.1.30.0040.00515.61
7.1.20.0020.01015.82
7.1.10.0050.00615.50
7.1.00.0060.00515.67

preferences:
72.3 ms | 401 KiB | 5 Q