3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __call($method, $args){ var_dump(${'_POST'}, ${'_'.'POST'}); } } $class = new A(); $class->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.0060.01318.38
8.3.50.0110.00416.40
8.3.40.0040.01118.75
8.3.30.0110.00718.55
8.3.20.0120.00620.21
8.3.10.0090.00023.61
8.3.00.0040.00419.66
8.2.180.0150.00016.75
8.2.170.0100.00722.96
8.2.160.0100.00720.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0090.00926.16
8.2.120.0080.00017.63
8.2.110.0000.01022.24
8.2.100.0090.00317.63
8.2.90.0050.00319.12
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0030.00518.04
8.2.50.0030.00518.07
8.2.40.0000.00719.46
8.2.30.0040.00718.11
8.2.20.0040.00417.68
8.2.10.0000.00718.09
8.2.00.0000.00717.98
8.1.280.0040.01225.92
8.1.270.0060.01320.29
8.1.260.0000.00726.35
8.1.250.0080.00828.09
8.1.240.0060.00322.44
8.1.230.0040.00717.48
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0000.00818.36
8.1.160.0000.00721.97
8.1.150.0000.00718.82
8.1.140.0060.00317.32
8.1.130.0030.00317.56
8.1.120.0040.00417.52
8.1.110.0040.00417.44
8.1.100.0000.00717.51
8.1.90.0000.00717.31
8.1.80.0000.00817.47
8.1.70.0000.00717.45
8.1.60.0000.00817.55
8.1.50.0000.00817.46
8.1.40.0030.00617.54
8.1.30.0080.00017.70
8.1.20.0040.00417.60
8.1.10.0000.00717.47
8.1.00.0040.00417.27
8.0.300.0070.00318.77
8.0.290.0000.00716.63
8.0.280.0040.00418.45
8.0.270.0030.00317.19
8.0.260.0040.00417.30
8.0.250.0000.00716.98
8.0.240.0000.01016.96
8.0.230.0050.00316.86
8.0.220.0000.00716.78
8.0.210.0080.00016.83
8.0.200.0070.00016.82
8.0.190.0040.00416.98
8.0.180.0030.00516.99
8.0.170.0000.00916.79
8.0.160.0030.00316.98
8.0.150.0030.00716.66
8.0.140.0000.00716.82
8.0.130.0000.00613.28
8.0.120.0070.00016.85
8.0.110.0050.00216.90
8.0.100.0040.00416.75
8.0.90.0040.00416.93
8.0.80.0040.01216.95
8.0.70.0070.00016.93
8.0.60.0000.00716.75
8.0.50.0040.00416.77
8.0.30.0140.00417.10
8.0.20.0070.01417.40
8.0.10.0030.00416.88
8.0.00.0090.00916.67
7.4.330.0050.00015.15
7.4.320.0000.00616.37
7.4.300.0000.00616.58
7.4.290.0000.00816.57
7.4.280.0000.00816.50
7.4.270.0030.00316.50
7.4.260.0030.00316.57
7.4.250.0030.00316.57
7.4.240.0030.00416.63
7.4.230.0000.00716.71
7.4.220.0080.01116.57
7.4.210.0030.01116.64
7.4.200.0030.00316.60
7.4.160.0070.00716.51
7.4.150.0060.01317.40
7.4.140.0110.00817.86
7.4.130.0070.01216.55
7.4.120.0140.00416.53
7.4.110.0070.01016.62
7.4.100.0100.00716.50
7.4.90.0100.00716.61
7.4.80.0100.00619.39
7.4.70.0030.01316.50
7.4.60.0060.01016.45
7.4.50.0030.00316.49
7.4.40.0090.00916.49
7.4.30.0150.00616.43
7.4.00.0030.00615.15
7.3.330.0000.00513.18
7.3.320.0030.00213.03
7.3.310.0030.00316.22
7.3.300.0030.00316.24
7.3.290.0080.00816.24
7.3.280.0130.00816.22
7.3.270.0160.00417.40
7.3.260.0100.00716.50
7.3.250.0130.00616.33
7.3.240.0080.00816.31
7.3.230.0070.01016.39
7.3.210.0140.00416.35
7.3.200.0070.01016.24
7.3.190.0110.01216.32
7.3.180.0070.01016.52
7.3.170.0150.00616.38
7.3.160.0070.01016.43
7.2.330.0030.01516.55
7.2.320.0080.00816.66
7.2.310.0090.00616.64
7.2.300.0090.00616.23
7.2.290.0090.00916.64
7.2.60.0030.01116.72
7.2.00.0000.00919.34
7.1.200.0120.00015.64
7.1.100.0130.00317.98
7.1.70.0050.00317.04
7.1.60.0090.00919.12
7.1.50.0030.02016.58
7.1.00.0070.07322.30
7.0.200.0070.00316.51
7.0.60.0100.08320.02
7.0.50.0000.04317.87
7.0.40.0070.06720.26
7.0.30.0670.06320.17
7.0.20.0370.07320.19
7.0.10.0070.06020.19
7.0.00.0070.04320.11
5.6.280.0030.03320.89
5.6.210.0100.08020.75
5.6.200.0070.08318.27
5.6.190.0070.08320.61
5.6.180.0230.05320.47
5.6.170.0330.07320.52
5.6.160.0130.06720.46
5.6.150.0000.04318.23
5.6.140.0000.07018.15
5.6.130.0030.08318.16
5.6.120.0070.08720.90
5.6.110.0030.05321.13
5.6.100.0030.04720.97
5.6.90.0000.09321.13
5.6.80.0100.07020.38
5.6.70.0200.04720.37
5.5.350.4070.03720.41
5.5.340.0000.08717.96
5.5.330.0070.07020.56
5.5.320.0300.03720.27
5.5.310.0230.05320.36
5.5.300.0070.08317.95
5.5.290.0070.03718.08
5.5.280.0030.04320.78
5.5.270.0100.05020.88
5.5.260.0070.06020.86
5.5.250.0030.08320.58
5.5.240.0270.05320.26
5.4.450.0730.06019.47
5.4.440.0870.05019.57
5.4.430.0700.05719.38
5.4.420.0600.05319.57
5.4.410.0800.04719.25
5.4.400.0730.05319.37
5.4.390.0700.06019.25
5.4.380.0600.05719.12
5.4.370.0630.06019.06
5.4.360.0600.05319.27
5.4.350.0730.05719.30
5.4.340.0600.05319.23
5.4.320.0770.05018.87
5.4.310.0870.05319.28
5.4.300.0830.05019.30
5.4.290.0970.03318.86
5.4.280.0600.06019.15
5.4.270.0530.06718.84
5.4.260.0500.05719.11
5.4.250.0130.05719.13
5.4.240.0130.04719.36
5.4.230.0170.05718.86
5.4.220.0600.05719.22
5.4.210.0530.05718.86
5.4.200.0630.05018.83
5.4.190.0570.07019.27
5.4.180.0230.06019.27
5.4.170.0200.07019.26
5.4.160.0630.05719.34
5.4.150.0430.05319.04
5.4.140.0130.05016.44
5.4.130.0030.05716.52
5.4.120.0270.04316.41
5.4.110.0700.05316.63
5.4.100.0770.04716.57
5.4.90.0570.05716.52
5.4.80.0830.04716.58
5.4.70.0200.03716.24
5.4.60.0400.07716.52
5.4.50.0070.06716.43
5.4.40.0030.04316.54
5.4.30.0000.03716.34
5.4.20.0070.07316.48

preferences:
62.1 ms | 400 KiB | 5 Q