3v4l.org

run code in 300+ PHP versions simultaneously
<?php $classes = get_declared_classes(); foreach($classes as $class){ $methods = get_class_methods($class); foreach($methods as $method){ if(in_array($method, array('__construct', '__destruct', '__call', '__callStatic', '__get', '__set', '__isset', '__unset', '__sleep', '__wakeup', '__toString', '__invoke', '__set_state', '__clone'))){ printf("%s::%s\n", $class, $method); } } }

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.01118.28
8.3.50.0160.00521.14
8.3.40.0070.00718.54
8.3.30.0100.01019.15
8.3.20.0030.00520.37
8.3.10.0050.00322.03
8.3.00.0090.00022.57
8.2.180.0110.00418.29
8.2.170.0000.01522.96
8.2.160.0120.00418.71
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0150.00026.16
8.2.120.0030.00619.34
8.2.110.0070.00320.51
8.2.100.0060.00617.84
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0030.00617.80
8.2.50.0050.00318.10
8.2.40.0000.00820.01
8.2.30.0040.00418.04
8.2.20.0000.00817.56
8.2.10.0000.00817.70
8.2.00.0050.00317.68
8.1.280.0040.01225.92
8.1.270.0000.00822.05
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00022.56
8.1.230.0060.00617.70
8.1.220.0030.00517.77
8.1.210.0030.00518.77
8.1.200.0080.00317.25
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0030.00518.73
8.1.160.0040.00422.06
8.1.150.0020.00518.64
8.1.140.0070.00017.43
8.1.130.0030.00517.89
8.1.120.0040.00417.54
8.1.110.0040.00417.48
8.1.100.0000.00717.42
8.1.90.0000.00817.46
8.1.80.0040.00417.38
8.1.70.0000.00717.41
8.1.60.0060.00317.60
8.1.50.0040.00417.49
8.1.40.0000.00917.52
8.1.30.0030.00517.47
8.1.20.0000.00817.59
8.1.10.0000.00817.36
8.1.00.0060.00317.30
8.0.300.0080.00018.77
8.0.290.0090.00016.75
8.0.280.0030.00318.50
8.0.270.0080.00017.37
8.0.260.0000.00816.94
8.0.250.0030.00316.99
8.0.240.0000.00816.86
8.0.230.0030.00316.85
8.0.220.0040.00416.91
8.0.210.0040.00416.83
8.0.200.0000.00816.98
8.0.190.0000.00716.98
8.0.180.0040.00416.92
8.0.170.0040.00416.95
8.0.160.0030.00616.97
8.0.150.0050.00316.80
8.0.140.0040.00416.79
8.0.130.0060.00013.32
8.0.120.0030.00716.88
8.0.110.0030.00616.75
8.0.100.0080.00016.83
8.0.90.0050.00216.90
8.0.80.0090.00916.83
8.0.70.0000.00816.77
8.0.60.0040.00416.79
8.0.50.0040.00416.92
8.0.30.0060.01417.18
8.0.20.0100.01017.41
8.0.10.0030.00516.89
8.0.00.0130.00616.64
7.4.330.0030.00315.00
7.4.320.0000.00716.60
7.4.300.0000.00616.46
7.4.290.0000.00716.43
7.4.280.0040.00416.59
7.4.270.0030.00316.62
7.4.260.0000.00716.50
7.4.250.0000.00716.38
7.4.240.0020.00616.52
7.4.230.0000.00816.53
7.4.220.0100.01416.61
7.4.210.0090.00716.60
7.4.200.0000.00816.59
7.4.190.0040.00416.68
7.4.160.0110.00716.69
7.4.150.0070.01117.40
7.4.140.0080.01217.86
7.4.130.0110.01116.45
7.4.120.0140.00816.47
7.4.110.0070.01116.55
7.4.100.0160.00616.29
7.4.90.0040.01616.62
7.4.80.0180.00619.39
7.4.70.0080.01116.51
7.4.60.0090.00916.52
7.4.50.0060.00316.38
7.4.40.0070.01022.77
7.4.30.0090.00916.32
7.4.00.0060.00914.82
7.3.330.0060.00013.02
7.3.320.0050.00013.21
7.3.310.0030.00516.13
7.3.300.0000.00716.26
7.3.290.0030.01516.17
7.3.280.0080.00716.30
7.3.270.0140.00517.40
7.3.260.0150.01216.55
7.3.250.0120.00916.44
7.3.240.0000.01816.57
7.3.230.0130.00916.39
7.3.210.0110.00716.44
7.3.200.0090.01819.39
7.3.190.0150.00716.24
7.3.180.0030.01616.48
7.3.170.0130.00616.49
7.3.160.0170.00716.52
7.3.120.0100.00315.04
7.2.330.0080.01116.82
7.2.320.0060.01216.81
7.2.310.0090.00916.80
7.2.300.0110.00716.75
7.2.290.0100.00716.54
7.2.60.0040.01116.97
7.2.00.0030.00919.21
7.1.200.0030.01015.80
7.1.100.0000.01218.19
7.1.70.0000.00817.22
7.1.60.0180.00719.82
7.1.50.0120.00916.91
7.1.00.0030.06322.40
7.0.200.0030.00716.61
7.0.140.0030.07021.97
7.0.70.4300.04719.93
7.0.60.0100.07719.82
7.0.50.0000.08717.92
7.0.40.0130.06020.18
7.0.30.0230.07020.09
7.0.20.0200.05720.16
7.0.10.0170.08020.18
7.0.00.0030.05320.11
5.6.280.0070.07721.14
5.6.210.0070.08320.55
5.6.200.0030.09318.22
5.6.190.0030.08320.60
5.6.180.0170.06320.43
5.6.170.0330.03720.51
5.6.160.0030.06320.40
5.6.150.0000.04718.19
5.6.140.0100.08318.11
5.6.130.0130.08318.19
5.6.120.0130.08721.21
5.6.110.0070.05721.04
5.6.100.0070.08721.14
5.6.90.0070.09020.99
5.6.80.0070.07020.57
5.6.70.0270.07720.39
5.5.350.0100.08720.44
5.5.340.0070.08018.02
5.5.330.0070.08720.20
5.5.320.0000.10020.47
5.5.310.0370.04320.23
5.5.300.0100.07018.02
5.5.290.0070.09018.00
5.5.280.0100.09020.79
5.5.270.0100.08321.00
5.5.260.0070.08720.79
5.5.250.0000.04720.82
5.5.240.0230.06720.37
5.4.450.0530.04719.41
5.4.440.0330.05019.14
5.4.430.0370.04319.25
5.4.420.0330.04019.59
5.4.410.0300.04019.25
5.4.400.0300.04019.16
5.4.390.0370.03718.88
5.4.380.0370.03319.09
5.4.370.0300.04019.09
5.4.360.0570.05718.80
5.4.350.0470.02719.06
5.4.340.0400.03318.94
5.4.320.0300.05318.80
5.4.310.0430.05318.80
5.4.300.0270.04318.79
5.4.290.0400.05719.16
5.4.280.0570.04018.93
5.4.270.0500.03719.24
5.4.260.0530.06718.93
5.4.250.0430.03719.12
5.4.240.0530.04318.88
5.4.230.0500.06318.91
5.4.220.0470.05719.08
5.4.210.0500.06718.88
5.4.200.0500.06319.08
5.4.190.0430.04019.07
5.4.180.0400.05018.92
5.4.170.0500.06718.77
5.4.160.0500.07319.06
5.4.150.0500.07019.20
5.4.140.0370.04016.24
5.4.130.0500.06716.41
5.4.120.0470.03716.38
5.4.110.0530.05316.43
5.4.100.0570.06016.25
5.4.90.0500.04016.57
5.4.80.0530.04016.34
5.4.70.0470.04716.49
5.4.60.0430.05316.25
5.4.50.0500.06016.08
5.4.40.0570.06016.21
5.4.30.0400.04716.43
5.4.20.0400.04016.45
5.4.10.0530.04716.52
5.4.00.0400.03715.76
5.3.290.0430.04714.56
5.3.280.0500.05714.67
5.3.270.0500.06014.54
5.3.260.0530.06014.52
5.3.250.0400.04314.50
5.3.240.0500.06714.50
5.3.230.0400.05314.49
5.3.220.0500.03714.45
5.3.210.0470.03314.57
5.3.200.0530.06714.67
5.3.190.0470.05714.71
5.3.180.0500.06314.60
5.3.170.0370.04314.55
5.3.160.0430.07714.66
5.3.150.0430.03714.64
5.3.140.0700.04714.46
5.3.130.0500.07014.47
5.3.120.0530.07014.44
5.3.110.0430.03714.65
5.3.100.0300.04714.32
5.3.90.0500.05314.32
5.3.80.0500.03714.32
5.3.70.0400.04314.32
5.3.60.0530.07314.32
5.3.50.0400.06314.32
5.3.40.0500.04714.32
5.3.30.0430.04314.32
5.3.20.0500.04314.32
5.3.10.0530.05714.32
5.3.00.0500.06314.32
5.2.170.0370.05314.32
5.2.160.0430.06014.32
5.2.150.0430.05014.32
5.2.140.0300.03714.32
5.2.130.0300.04314.32
5.2.120.0470.05314.32
5.2.110.0470.05714.32
5.2.100.0430.05014.32
5.2.90.0370.03714.32
5.2.80.0270.03714.32
5.2.70.0370.05714.32
5.2.60.0330.04314.32
5.2.50.0400.04314.32
5.2.40.0300.05314.32
5.2.30.0370.03314.32
5.2.20.0330.06014.32
5.2.10.0300.03314.32
5.2.00.0300.04014.32
5.1.60.0300.03314.32
5.1.50.0330.04314.32
5.1.40.0300.05314.32
5.1.30.0300.04014.32
5.1.20.0400.04714.32
5.1.10.0300.04714.32
5.1.00.0300.03314.32
5.0.50.0270.03014.32
5.0.40.0200.04014.32
5.0.30.0230.05714.32
5.0.20.0200.03714.32
5.0.10.0170.02314.32
5.0.00.0200.02714.32
4.4.90.0170.03714.32
4.4.80.0130.02314.32
4.4.70.0170.03314.32
4.4.60.0170.01314.32
4.4.50.0170.03014.32
4.4.40.0170.05014.32
4.4.30.0270.01314.32
4.4.20.0170.02714.32
4.4.10.0170.03314.32
4.4.00.0170.03714.32
4.3.110.0270.01314.32
4.3.100.0230.02714.32
4.3.90.0200.02314.32
4.3.80.0200.02014.32
4.3.70.0200.02714.32
4.3.60.0200.03314.32
4.3.50.0170.01714.32
4.3.40.0130.03014.32
4.3.30.0070.03314.32
4.3.20.0100.03314.32
4.3.10.0070.02014.32
4.3.00.0100.03314.32

preferences:
60.85 ms | 401 KiB | 5 Q