3v4l.org

run code in 300+ PHP versions simultaneously
<?php $classes = get_declated_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.0100.01018.30
8.3.50.0110.00421.02
8.3.40.0120.00318.88
8.3.30.0080.00619.07
8.3.20.0000.00720.34
8.3.10.0040.00422.09
8.3.00.0050.00222.32
8.2.180.0090.00616.63
8.2.170.0070.00722.96
8.2.160.0000.01419.06
8.2.150.0080.00024.18
8.2.140.0020.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00619.36
8.2.110.0070.00322.05
8.2.100.0040.00819.45
8.2.90.0030.00519.05
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00817.68
8.2.50.0030.00518.07
8.2.40.0090.00019.78
8.2.30.0060.00517.99
8.2.20.0040.00417.52
8.2.10.0000.00817.67
8.2.00.0040.00417.59
8.1.280.0120.00625.92
8.1.270.0040.00422.22
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0030.00623.91
8.1.230.0080.00419.16
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0070.00317.22
8.1.190.0050.00317.53
8.1.180.0000.00818.66
8.1.170.0040.00418.37
8.1.160.0070.00022.13
8.1.150.0000.00718.52
8.1.140.0020.00517.24
8.1.130.0000.00717.75
8.1.120.0000.00717.32
8.1.110.0030.00617.36
8.1.100.0030.00317.23
8.1.90.0000.00717.34
8.1.80.0040.00417.33
8.1.70.0000.00617.25
8.1.60.0040.00417.45
8.1.50.0000.00817.36
8.1.40.0000.00817.36
8.1.30.0040.00417.48
8.1.20.0040.00417.63
8.1.10.0000.00717.49
8.1.00.0020.00517.39
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0000.00718.39
8.0.270.0040.00417.07
8.0.260.0080.00016.86
8.0.250.0070.00016.96
8.0.240.0030.00316.83
8.0.230.0000.00716.91
8.0.220.0070.00016.89
8.0.210.0070.00016.80
8.0.200.0000.00817.00
8.0.190.0040.00416.93
8.0.180.0070.00016.93
8.0.170.0070.00016.80
8.0.160.0030.00516.77
8.0.150.0020.00516.86
8.0.140.0000.00716.88
8.0.130.0030.00313.33
8.0.120.0080.00016.75
8.0.110.0040.00416.78
8.0.100.0070.00016.72
8.0.90.0040.00416.69
8.0.80.0090.01616.86
8.0.70.0000.00816.72
8.0.60.0040.00416.96
8.0.50.0000.00716.96
8.0.30.0060.01217.05
8.0.20.0140.00517.40
8.0.10.0050.00316.91
8.0.00.0110.00916.62
7.4.330.0030.00315.00
7.4.320.0000.00616.48
7.4.300.0000.00616.52
7.4.290.0030.00316.42
7.4.280.0050.00316.45
7.4.270.0000.00816.55
7.4.260.0030.00316.54
7.4.250.0070.00016.32
7.4.240.0040.00316.45
7.4.230.0030.00316.54
7.4.220.0100.00616.64
7.4.210.0060.01116.49
7.4.200.0000.00716.55
7.4.190.0000.00816.48
7.4.160.0130.00916.51
7.4.150.0080.00817.40
7.4.140.0110.00617.86
7.4.130.0060.01416.47
7.4.120.0100.00616.41
7.4.110.0070.01016.39
7.4.100.0140.00916.57
7.4.90.0060.01216.56
7.4.80.0100.00719.39
7.4.70.0120.00616.39
7.4.60.0090.00616.60
7.4.50.0040.00416.45
7.4.40.0000.01022.77
7.4.30.0060.00916.50
7.4.00.0060.00914.84
7.3.330.0050.00013.24
7.3.320.0030.00313.10
7.3.310.0000.00816.32
7.3.300.0030.00316.25
7.3.290.0060.00916.33
7.3.280.0090.00816.24
7.3.270.0100.01017.40
7.3.260.0100.01016.28
7.3.250.0090.01016.32
7.3.240.0100.00616.16
7.3.230.0060.00916.39
7.3.210.0130.00416.55
7.3.200.0090.01219.39
7.3.190.0080.00916.29
7.3.180.0090.00616.46
7.3.170.0120.00416.43
7.3.160.0090.00616.38
7.3.120.0000.00714.58
7.2.330.0060.01016.29
7.2.320.0060.01216.37
7.2.310.0120.00616.38
7.2.300.0030.01316.49
7.2.290.0160.00416.63
7.2.60.0060.01016.66
7.2.00.0070.00719.22
7.1.200.0040.00915.31
7.1.100.0070.00717.83
7.1.70.0070.02016.83
7.1.60.0080.01119.82
7.1.50.0090.01616.82
7.1.00.0000.08022.41
7.0.200.0000.00716.70
7.0.140.0070.07021.91
7.0.60.0100.07720.07
7.0.50.0030.08017.91
7.0.40.0030.05020.23
7.0.30.0330.07320.09
7.0.20.0300.03720.09
7.0.10.0000.06020.02
7.0.00.0070.08320.13
5.6.210.0030.07320.72
5.6.200.0070.04018.18
5.6.190.0030.05020.67
5.6.180.3430.04320.45
5.6.170.0270.03720.52
5.6.160.0070.03720.48
5.6.150.0070.04318.11
5.6.140.0100.08718.16
5.6.130.0130.04718.10
5.6.120.0100.08321.02
5.6.110.0270.06021.01
5.6.100.0030.04320.94
5.6.90.0070.08020.98
5.6.80.0070.08020.37
5.6.70.4370.05020.36
5.5.350.0000.08320.43
5.5.340.0070.03717.93
5.5.330.0000.07320.57
5.5.320.0270.04320.51
5.5.310.0300.04320.20
5.5.300.0100.08018.01
5.5.290.0000.05318.02
5.5.280.0130.04020.77
5.5.270.0070.05020.79
5.5.260.0170.04320.79
5.5.250.0030.04020.79
5.5.240.0070.07720.27
5.4.450.0770.07019.15
5.4.440.1000.05719.47
5.4.430.0700.05319.60
5.4.420.0130.06019.31
5.4.410.0130.05019.29
5.4.400.1070.06319.10
5.4.390.0870.04719.10
5.4.380.0300.05318.47
5.4.370.0100.03318.60
5.4.360.0130.03018.60
5.4.350.0090.03411.98
5.4.340.0060.03411.97
5.4.320.0070.03612.46
5.4.310.0060.03812.45
5.4.300.0070.03612.46
5.4.290.0050.04012.45
5.4.280.0140.05512.32
5.4.270.0140.06712.32
5.4.260.0150.05112.32
5.4.250.0130.04712.32
5.4.240.0060.05112.32
5.4.230.0100.04812.31
5.4.220.0170.07312.32
5.4.210.0220.10512.32
5.4.200.0200.09312.32
5.4.190.0090.05412.31
5.4.180.0080.05112.31
5.4.170.0130.08212.32
5.4.160.0150.04912.32
5.4.150.0130.07712.31
5.4.140.0170.07812.00
5.4.130.0110.06211.99
5.4.120.0230.10511.95
5.4.110.0070.05211.94
5.4.100.0200.06011.94
5.4.90.0190.07711.94
5.4.80.0160.07411.94
5.4.70.0160.07111.94
5.4.60.0160.07211.94
5.4.50.0150.08611.93
5.4.40.0140.07411.93
5.4.30.0150.07011.92
5.4.20.0190.07611.93
5.4.10.0100.06811.93
5.4.00.0220.10011.41
5.3.290.0070.03712.80
5.3.280.0180.09312.71
5.3.270.0100.07212.73
5.3.260.0170.05812.72
5.3.250.0180.09512.72
5.3.240.0090.06412.72
5.3.230.0120.07312.71
5.3.220.0120.07812.68
5.3.210.0110.09912.68
5.3.200.0140.08412.68
5.3.190.0120.06412.68
5.3.180.0230.07512.67
5.3.170.0130.04912.67
5.3.160.0070.05012.68
5.3.150.0140.07512.67
5.3.140.0080.06312.66
5.3.130.0170.07112.66
5.3.120.0160.07312.66
5.3.110.0070.05412.65
5.3.100.0210.08412.12
5.3.90.0200.10312.08
5.3.80.0110.05812.07
5.3.70.0080.04912.07
5.3.60.0100.05712.06
5.3.50.0140.04512.00
5.3.40.0110.07912.00
5.3.30.0190.07011.94
5.3.20.0150.08211.72
5.3.10.0160.12011.66
5.3.00.0220.09611.66
5.2.170.0080.0969.15
5.2.160.0080.0449.15
5.2.150.0120.0709.15
5.2.140.0070.0529.14
5.2.130.0050.0479.11
5.2.120.0080.0449.11
5.2.110.0200.0819.11
5.2.100.0100.0379.11
5.2.90.0070.0419.11
5.2.80.0070.0439.11
5.2.70.0050.0459.11
5.2.60.0020.0469.06
5.2.50.0080.0409.03
5.2.40.0030.0429.00
5.2.30.0060.0438.99
5.2.20.0060.0418.97
5.2.10.0060.0428.90
5.2.00.0070.0438.76
5.1.60.0030.0458.05
5.1.50.0150.0708.05
5.1.40.0140.0758.03
5.1.30.0070.0598.37
5.1.20.0090.0378.40
5.1.10.0080.0378.12
5.1.00.0080.0398.13
5.0.50.0120.0246.60
5.0.40.0070.0286.46
5.0.30.0090.0436.27
5.0.20.0070.0276.25
5.0.10.0070.0316.22
5.0.00.0080.0416.21
4.4.90.0040.0254.78
4.4.80.0050.0244.75
4.4.70.0100.0184.75
4.4.60.0010.0254.75
4.4.50.0050.0224.77
4.4.40.0050.0354.71
4.4.30.0050.0214.76
4.4.20.0070.0204.85
4.4.10.0040.0234.85
4.4.00.0080.0304.76
4.3.110.0070.0214.67
4.3.100.0060.0204.66
4.3.90.0050.0214.63
4.3.80.0050.0334.58
4.3.70.0040.0234.63
4.3.60.0080.0194.63
4.3.50.0060.0214.63
4.3.40.0070.0324.54
4.3.30.0050.0223.27
4.3.20.0040.0233.25
4.3.10.0040.0253.21
4.3.00.0100.0177.27

preferences:
48.9 ms | 401 KiB | 5 Q