3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function __construct() {} } class C2 { } var_dump(is_callable(['C', '__construct'])); var_dump(is_callable(['C2', '__construct']));

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.0110.00418.18
8.3.50.0110.01122.12
8.3.40.0140.00018.51
8.3.30.0080.00518.97
8.3.20.0070.00020.21
8.3.10.0080.00020.28
8.3.00.0080.00019.13
8.2.180.0070.00716.32
8.2.170.0140.00322.96
8.2.160.0000.01420.53
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00422.14
8.2.110.0080.00020.38
8.2.100.0000.01117.91
8.2.90.0000.00718.96
8.2.80.0030.00617.97
8.2.70.0080.00017.63
8.2.60.0050.00317.80
8.2.50.0080.00018.07
8.2.40.0040.00418.09
8.2.30.0040.00417.80
8.2.20.0040.00417.43
8.2.10.0070.00017.91
8.2.00.0040.00417.54
8.1.280.0150.00325.92
8.1.270.0030.00623.96
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0000.00923.78
8.1.230.0070.00318.95
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00816.88
8.1.190.0000.00817.10
8.1.180.0030.00618.10
8.1.170.0040.00418.29
8.1.160.0040.00421.94
8.1.150.0070.00018.66
8.1.140.0000.00717.27
8.1.130.0000.00717.68
8.1.120.0000.00717.29
8.1.110.0070.00017.34
8.1.100.0000.00717.32
8.1.90.0030.00417.32
8.1.80.0000.00717.32
8.1.70.0000.00717.24
8.1.60.0050.00417.41
8.1.50.0000.00817.37
8.1.40.0000.00817.32
8.1.30.0060.00317.36
8.1.20.0040.00417.34
8.1.10.0020.00517.41
8.1.00.0000.00817.35
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00818.34
8.0.270.0000.00717.12
8.0.260.0000.00617.12
8.0.250.0000.00716.90
8.0.240.0000.00716.75
8.0.230.0070.00016.80
8.0.220.0050.00316.78
8.0.210.0060.00016.66
8.0.200.0000.00616.64
8.0.190.0080.00016.74
8.0.180.0060.00316.78
8.0.170.0030.00616.78
8.0.160.0040.00416.70
8.0.150.0000.00716.66
8.0.140.0050.00216.65
8.0.130.0030.00313.21
8.0.120.0080.00016.62
8.0.110.0030.00516.76
8.0.100.0040.00416.77
8.0.90.0000.00816.55
8.0.80.0100.00516.73
8.0.70.0070.00016.58
8.0.60.0000.00816.74
8.0.50.0030.00516.81
8.0.30.0090.01217.00
8.0.20.0110.00817.40
8.0.10.0040.00416.99
8.0.00.0110.00816.55
7.4.330.0000.00515.00
7.4.320.0030.00316.50
7.4.300.0070.00016.37
7.4.290.0040.00416.35
7.4.280.0040.00416.41
7.4.270.0030.00316.47
7.4.260.0030.00316.37
7.4.250.0040.00416.33
7.4.240.0040.00416.47
7.4.230.0070.00016.46
7.4.220.0140.00416.36
7.4.210.0100.00316.48
7.4.200.0020.00516.25
7.4.160.0050.01116.31
7.4.150.0170.00717.40
7.4.140.0120.00517.86
7.4.130.0090.00816.32
7.4.120.0110.00816.41
7.4.110.0030.01316.27
7.4.100.0100.00716.09
7.4.90.0150.00316.14
7.4.80.0110.01119.39
7.4.70.0070.01016.48
7.4.60.0100.00716.40
7.4.50.0030.00616.27
7.4.40.0060.00916.48
7.4.30.0070.01016.30
7.4.00.0020.01714.83
7.3.330.0060.00013.24
7.3.320.0050.00013.03
7.3.310.0040.00416.27
7.3.300.0000.00716.22
7.3.290.0100.00316.20
7.3.280.0130.00516.21
7.3.270.0120.00617.40
7.3.260.0090.00916.41
7.3.250.0070.00916.24
7.3.240.0100.00716.45
7.3.230.0130.00316.39
7.3.210.0100.01316.29
7.3.200.0030.01819.39
7.3.190.0000.01716.20
7.3.180.0090.00616.42
7.3.170.0040.01216.43
7.3.160.0160.00316.28
7.3.120.0100.01014.94
7.3.110.0060.01314.91
7.3.100.0050.00814.83
7.3.90.0060.00614.58
7.3.80.0100.00314.62
7.3.70.0030.01014.71
7.3.60.0070.00714.52
7.3.50.0070.00714.82
7.3.40.0000.01014.45
7.3.30.0030.01214.52
7.3.20.0040.00816.55
7.3.10.0030.01316.50
7.3.00.0090.00616.60
7.2.330.0070.01016.46
7.2.320.0070.01016.48
7.2.310.0040.01216.32
7.2.300.0100.01016.21
7.2.290.0030.01316.32
7.2.250.0120.00614.73
7.2.240.0070.01015.00
7.2.230.0030.01214.48
7.2.220.0000.01314.56
7.2.210.0000.01315.05
7.2.200.0060.00614.63
7.2.190.0000.01114.68
7.2.180.0040.01114.91
7.2.170.0060.00914.95
7.2.00.0040.01219.42
7.1.330.0070.00715.78
7.1.320.0060.00615.68
7.1.310.0080.00615.65
7.1.300.0040.00915.68
7.1.290.0040.01415.45
7.1.280.0100.00715.66
7.1.270.0100.00715.69
7.1.260.0070.01015.70
7.1.100.0040.00717.86
7.1.70.0070.00716.68
7.1.60.0070.01719.32
7.1.50.0100.01416.76
7.1.00.0070.07322.46
7.0.200.0580.00714.54
7.0.140.0030.07722.12
7.0.60.0100.08019.86
7.0.50.0130.05717.85
7.0.40.0070.09020.09
7.0.30.0070.05020.16
7.0.20.0200.04020.17
7.0.10.0100.06020.23
7.0.00.0030.04320.18
5.6.280.0030.07321.13
5.6.210.0000.04320.66
5.6.200.0100.08018.18
5.6.190.0070.07320.76
5.6.180.0570.06020.61
5.6.170.0300.04720.55
5.6.160.0100.08720.44
5.6.150.0100.03318.18
5.6.140.0000.05718.25
5.6.130.0070.08318.27
5.6.120.0130.04020.89
5.6.110.0100.08020.91
5.6.100.0170.06320.98
5.6.90.0100.07320.88
5.6.80.0030.05320.38
5.5.350.0230.05720.44
5.5.340.0030.08018.07
5.5.330.0070.04020.21
5.5.320.0370.07320.36
5.5.310.0270.08020.32
5.5.300.0100.07717.97
5.5.290.0130.05718.00
5.5.280.0030.06320.89
5.5.270.0170.07320.74
5.5.260.0030.08720.64
5.5.250.0030.05720.57
5.5.240.0270.07020.04
5.4.450.0200.08019.41
5.4.440.0300.04719.16
5.4.430.0170.04319.54
5.4.420.0230.06019.41
5.4.410.0200.04319.44
5.4.400.0200.04019.23
5.4.390.0170.05319.14
5.4.380.0170.05719.25
5.4.370.0230.03319.00
5.4.360.0170.03719.31
5.4.350.0130.04319.22
5.4.340.0300.03019.23
5.4.320.0170.05018.99
5.4.310.0300.06719.09
5.4.300.0300.04019.22
5.4.290.0200.04319.15
5.4.280.0170.03718.98
5.4.270.0200.03718.83
5.4.260.0230.07719.24
5.4.250.0130.04019.25
5.4.240.0200.03319.23
5.4.230.0200.03719.23
5.4.220.0200.04319.18
5.4.210.0200.04719.15
5.4.200.0300.03719.09
5.4.190.0170.03718.83
5.4.180.0200.04719.16
5.4.170.0200.03719.18
5.4.160.0130.04018.95
5.4.150.0230.03318.97
5.4.140.0200.04316.41
5.4.130.0200.03316.39
5.4.120.0230.03016.51
5.4.110.0270.03316.59
5.4.100.0170.04316.59
5.4.90.0200.03316.26
5.4.80.0170.03316.49
5.4.70.0200.03016.58
5.4.60.0270.03716.43
5.4.50.0300.02316.43
5.4.40.0230.03316.16
5.4.30.0200.03316.33
5.4.20.0200.03316.52
5.4.10.0130.04016.55
5.4.00.0170.03715.89
5.3.290.0200.03314.66
5.3.280.0330.03714.50
5.3.270.0200.03314.75
5.3.260.0200.03714.75
5.3.250.0170.03314.52
5.3.240.0170.04014.62
5.3.230.0200.03014.51
5.3.220.0170.03314.64
5.3.210.0200.04714.54
5.3.200.0130.04014.79
5.3.190.0170.03714.58
5.3.180.0170.04714.79
5.3.170.0200.03014.55
5.3.160.0230.04314.64
5.3.150.0200.05014.55
5.3.140.0270.02714.52
5.3.130.0430.03314.60
5.3.120.0200.05014.55
5.3.110.0170.03714.57
5.3.100.0200.06013.98
5.3.90.0270.05314.10
5.3.80.0100.04313.92
5.3.70.0130.04313.93
5.3.60.0230.03014.01
5.3.50.0230.03013.92
5.3.40.0200.03314.03
5.3.30.0230.02714.02
5.3.20.0200.03313.59
5.3.10.0200.04013.58
5.3.00.0200.03313.78
5.2.170.0170.02311.22
5.2.160.0130.03711.37
5.2.150.0130.03011.05
5.2.140.0130.03011.07
5.2.130.0100.03011.18
5.2.120.0200.02311.18
5.2.110.0100.03311.02
5.2.100.0170.02311.21
5.2.90.0200.04711.03
5.2.80.0130.03310.96
5.2.70.0200.04711.00
5.2.60.0230.03011.27
5.2.50.0130.03011.13
5.2.40.0100.03010.89
5.2.30.0130.02711.19
5.2.20.0100.03710.96
5.2.10.0070.03311.01
5.2.00.0170.02310.67
5.1.60.0170.01710.15
5.1.50.0130.0209.87
5.1.40.0030.0309.95
5.1.30.0100.02710.39
5.1.20.0200.02710.32
5.1.10.0170.0239.95
5.1.00.0130.0239.97
5.0.50.0070.0208.48
5.0.40.0030.0208.50
5.0.30.0100.0238.27
5.0.20.0070.0178.13
5.0.10.0030.0208.33
5.0.00.0100.0278.05
4.4.90.0030.0177.74
4.4.80.0030.0207.74
4.4.70.0030.0177.74
4.4.60.0030.0177.74
4.4.50.0030.0177.74
4.4.40.0030.0237.74
4.4.30.0030.0207.74
4.4.20.0030.0207.74
4.4.10.0000.0277.74
4.4.00.0130.0237.74
4.3.110.0070.0137.74
4.3.100.0000.0207.74
4.3.90.0100.0177.74
4.3.80.0070.0237.74
4.3.70.0030.0177.74
4.3.60.0030.0177.74
4.3.50.0030.0177.74
4.3.40.0030.0237.74
4.3.30.0000.0177.74
4.3.20.0030.0277.74
4.3.10.0000.0177.74
4.3.00.0030.0237.74

preferences:
35.72 ms | 401 KiB | 5 Q