3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Myclass{ public function __call($name, $args){ echo "calling method '$name' ". implode(',', $args); } } $class = new Myclass; $class->hello("calling undefined method", "sasasa");

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.0040.01118.43
8.3.50.0110.00517.38
8.3.40.0070.01018.89
8.3.30.0130.00318.54
8.3.20.0000.00818.86
8.3.10.0090.00020.39
8.3.00.0080.00017.25
8.2.180.0110.01116.75
8.2.170.0140.00722.96
8.2.160.0100.01022.08
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0040.00419.74
8.2.110.0030.00620.47
8.2.100.0090.00317.91
8.2.90.0050.00319.22
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0000.00817.89
8.2.50.0030.00618.07
8.2.40.0000.00918.16
8.2.30.0040.00418.04
8.2.20.0040.00417.57
8.2.10.0030.00617.75
8.2.00.0040.00417.78
8.1.280.0140.00725.92
8.1.270.0050.00223.99
8.1.260.0150.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00323.97
8.1.230.0120.00017.42
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0100.00017.23
8.1.190.0040.00417.54
8.1.180.0000.00818.10
8.1.170.0000.00818.77
8.1.160.0040.00418.82
8.1.150.0000.00818.64
8.1.140.0030.00517.47
8.1.130.0030.00317.89
8.1.120.0000.00717.38
8.1.110.0030.00317.50
8.1.100.0000.00717.44
8.1.90.0040.00417.47
8.1.80.0040.00417.41
8.1.70.0050.00317.45
8.1.60.0040.00417.51
8.1.50.0070.00017.41
8.1.40.0040.00417.35
8.1.30.0030.00517.48
8.1.20.0030.00617.65
8.1.10.0020.00517.59
8.1.00.0070.00017.51
8.0.300.0080.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00818.51
8.0.270.0050.00317.27
8.0.260.0070.00016.80
8.0.250.0000.00716.91
8.0.240.0030.00616.95
8.0.230.0040.00416.86
8.0.220.0030.00316.88
8.0.210.0000.00816.89
8.0.200.0030.00316.91
8.0.190.0030.00317.00
8.0.180.0040.00416.98
8.0.170.0060.00316.82
8.0.160.0060.00316.88
8.0.150.0000.00916.92
8.0.140.0100.00016.81
8.0.130.0040.00413.27
8.0.120.0000.00816.74
8.0.110.0040.00416.74
8.0.100.0040.00416.95
8.0.90.0040.00416.89
8.0.80.0030.01216.81
8.0.70.0000.00716.75
8.0.60.0040.00416.79
8.0.50.0000.00716.80
8.0.30.0150.00316.99
8.0.20.0100.01017.29
8.0.10.0040.00416.96
8.0.00.0110.01016.81
7.4.330.0000.00514.65
7.4.320.0000.00716.55
7.4.300.0000.00716.61
7.4.290.0040.00416.54
7.4.280.0030.00616.53
7.4.270.0060.00016.53
7.4.260.0060.00013.29
7.4.250.0060.00316.57
7.4.240.0040.00416.50
7.4.230.0040.00416.50
7.4.220.0190.01316.61
7.4.210.0120.00516.50
7.4.200.0000.00716.34
7.4.190.0040.00416.55
7.4.160.0040.01316.29
7.4.150.0070.01017.07
7.4.140.0050.01317.10
7.4.130.0110.01016.59
7.4.120.0080.00916.46
7.4.110.0090.00816.44
7.4.100.0090.00916.57
7.4.90.0070.01016.50
7.4.80.0060.01118.80
7.4.70.0100.01316.36
7.4.60.0130.00916.71
7.4.50.0060.00316.52
7.4.40.0040.01122.27
7.4.30.0100.01116.66
7.4.00.0090.00915.15
7.3.330.0040.00413.29
7.3.320.0030.00313.28
7.3.310.0040.00416.34
7.3.300.0070.00016.35
7.3.290.0090.01016.30
7.3.280.0080.00916.37
7.3.270.0080.00817.07
7.3.260.0100.01018.24
7.3.250.0120.00816.46
7.3.240.0130.00416.32
7.3.230.0090.00916.39
7.3.210.0090.00916.40
7.3.200.0100.01219.39
7.3.190.0190.00316.53
7.3.180.0130.00416.55
7.3.170.0030.01316.61
7.3.160.0030.01316.42
7.3.120.0000.01614.83
7.2.330.0090.00916.36
7.2.320.0140.00316.62
7.2.310.0070.01716.64
7.2.300.0030.01316.49
7.2.290.0080.00816.45
7.2.00.0060.00619.43
7.1.100.0000.01418.16
7.1.70.0030.00717.29
7.1.60.0090.00619.40
7.1.50.0070.01417.05
7.1.00.0030.07022.32
7.0.200.0000.00716.68
7.0.140.0100.06322.21
7.0.60.0200.06720.08
7.0.50.0130.08317.95
7.0.40.0030.04320.40
7.0.30.0400.06320.26
7.0.20.0330.07320.23
7.0.10.0070.05720.07
7.0.00.0070.04020.09
5.6.280.0070.07021.06
5.6.210.0070.08320.61
5.6.200.0030.04018.19
5.6.190.0100.08320.39
5.6.180.3400.04020.64
5.6.170.0330.07020.58
5.6.160.0000.07320.50
5.6.150.0100.04718.15
5.6.140.0030.04018.17
5.6.130.0000.04318.21
5.6.120.0070.08321.15
5.6.110.0130.08321.14
5.6.100.0170.07320.97
5.6.90.0100.09020.97
5.6.80.0130.05720.38
5.6.70.4230.04320.43
5.5.350.0370.07020.38
5.5.340.0100.08017.99
5.5.330.0030.04320.43
5.5.320.0430.06720.42
5.5.310.0200.05720.19
5.5.300.0030.04317.97
5.5.290.0030.05717.93
5.5.280.0070.08320.65
5.5.270.0000.04720.88
5.5.260.0030.09320.97
5.5.250.0270.07720.80
5.5.240.0230.07720.02
5.4.450.0100.04719.18
5.4.440.0030.05319.47
5.4.430.0200.06719.48
5.4.420.0130.07019.17
5.4.410.0030.07319.44
5.4.400.0200.03019.13
5.4.390.0070.04018.92
5.4.380.0070.03319.20
5.4.370.0030.03719.14
5.4.360.0000.04018.87
5.4.350.0070.03719.12
5.4.340.0030.03719.07
5.4.320.0170.02718.97
5.4.310.0030.03718.86
5.4.300.0030.03719.20
5.4.290.0030.03719.24
5.4.280.0100.03019.20
5.4.270.0030.03719.08
5.4.260.0070.03318.85
5.4.250.0030.03718.84
5.4.240.0030.03719.15
5.4.230.0030.03719.23
5.4.220.0030.04319.07
5.4.210.0030.03718.97
5.4.200.0070.03319.16
5.4.190.0030.03718.86
5.4.180.0030.04018.91
5.4.170.0070.04019.14
5.4.160.0000.03719.13
5.4.150.0030.04719.12
5.4.140.0000.04016.43
5.4.130.0100.07016.26
5.4.120.0100.06716.42
5.4.110.0070.07316.34
5.4.100.0030.06016.50
5.4.90.0200.05716.42
5.4.80.0030.07316.43
5.4.70.0030.05716.43
5.4.60.0130.03016.42
5.4.50.0100.07016.40
5.4.40.0200.02716.39
5.4.30.0130.03716.34
5.4.20.0030.06016.25
5.4.10.0070.07016.38
5.4.00.0030.07715.89
5.3.290.0030.04014.66
5.3.280.0000.04014.59
5.3.270.0000.04014.60
5.3.260.0070.05314.65
5.3.250.0130.03014.76
5.3.240.0070.05314.76
5.3.230.0100.07314.65
5.3.220.0000.07714.59
5.3.210.0030.06714.61
5.3.200.0130.06714.65
5.3.190.0070.06314.55
5.3.180.0030.07014.60
5.3.170.0000.06714.55
5.3.160.0230.06014.59
5.3.150.0070.06714.59
5.3.140.0070.08014.58
5.3.130.0100.04014.58
5.3.120.0030.07714.69
5.3.110.0000.05314.46
5.3.100.0100.06714.09
5.3.90.0030.07314.07
5.3.80.0070.08014.02
5.3.70.0130.06714.02
5.3.60.0030.05713.97
5.3.50.0130.07313.95
5.3.40.0030.06013.90
5.3.30.0100.07014.05
5.3.20.0070.06313.58
5.3.10.0100.06713.54
5.3.00.0030.07313.70
5.2.170.0030.05011.11
5.2.160.0100.03311.32
5.2.150.0000.06711.19
5.2.140.0070.03311.15
5.2.130.0030.04311.16
5.2.120.0100.05311.14
5.2.110.0170.05011.27
5.2.100.0070.06011.14
5.2.90.0130.05711.06
5.2.80.0070.05311.08
5.2.70.0000.04711.25
5.2.60.0030.05311.00
5.2.50.0070.04711.09
5.2.40.0000.03011.05
5.2.30.0070.05310.95
5.2.20.0030.05310.93
5.2.10.0100.05711.00
5.2.00.0000.06310.67
5.1.60.0030.04310.13
5.1.50.0100.04310.05
5.1.40.0000.0609.93
5.1.30.0030.04710.50
5.1.20.0030.03310.36
5.1.10.0130.01710.13
5.1.00.0100.02710.02
5.0.50.0030.0479.16
5.0.40.0030.0209.16
5.0.30.0030.0479.16
5.0.20.0000.0379.16
5.0.10.0030.0239.16
5.0.00.0000.0309.16
4.4.90.0000.0379.16
4.4.80.0000.0379.16
4.4.70.0000.0409.16
4.4.60.0030.0339.16
4.4.50.0030.0239.16
4.4.40.0000.0539.16
4.4.30.0030.0209.16
4.4.20.0070.0279.16
4.4.10.0030.0179.16
4.4.00.0000.0239.16
4.3.110.0000.0279.16
4.3.100.0000.0179.16
4.3.90.0030.0179.16
4.3.80.0000.0239.16
4.3.70.0000.0209.16
4.3.60.0000.0279.16
4.3.50.0030.0209.16
4.3.40.0030.0239.16
4.3.30.0000.0379.16
4.3.20.0000.0309.16
4.3.10.0030.0239.16
4.3.00.0000.0179.16

preferences:
40.03 ms | 401 KiB | 5 Q