3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(unserialize('a:3:{i:0;s:23:"i.petretskiy@netrika.ru";i:1;s:22:"pochta@test.netrika.ru";i:2;s:22:"i.razdymaho@netrika.ru";}')); abstract class T { static public $instanses; final private function __construct(){ } public static function getInstance() { if (!(static::$instanses instanceof static)) { static::$instanses = new static; } return static::$instanses; } } class A extends T { static public $instanses; } class B extends A { static public $instanses; } $t = A::getInstance(); var_dump($t); $t1 = B::getInstance(); var_dump($t1); new B(); ?>

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.0070.01418.80
8.3.50.0130.00821.20
8.3.40.0110.01118.60
8.3.30.0150.00618.75
8.3.20.0080.00020.33
8.3.10.0080.00023.35
8.3.00.0040.00419.68
8.2.180.0130.00318.51
8.2.170.0090.00622.96
8.2.160.0100.00320.41
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00417.75
8.2.110.0070.00321.00
8.2.100.0040.00818.03
8.2.90.0060.00318.03
8.2.80.0000.00819.15
8.2.70.0000.00818.03
8.2.60.0050.00318.04
8.2.50.0110.00018.10
8.2.40.0030.00620.52
8.2.30.0000.01019.92
8.2.20.0020.00517.79
8.2.10.0020.00518.12
8.2.00.0000.00818.11
8.1.280.0140.00325.92
8.1.270.0110.00720.43
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.00623.84
8.1.230.0000.01120.90
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0030.00617.35
8.1.180.0030.00518.10
8.1.170.0040.00418.46
8.1.160.0040.00422.07
8.1.150.0030.00618.87
8.1.140.0080.00017.48
8.1.130.0000.00717.59
8.1.120.0000.00817.36
8.1.110.0030.00517.48
8.1.100.0020.00517.48
8.1.90.0030.00417.51
8.1.80.0030.00617.43
8.1.70.0070.00017.43
8.1.60.0020.00517.50
8.1.50.0040.00417.48
8.1.40.0030.00617.54
8.1.30.0000.01017.67
8.1.20.0060.00317.52
8.1.10.0050.00317.58
8.1.00.0040.00417.54
8.0.300.0030.00520.12
8.0.290.0000.00916.63
8.0.280.0080.00018.36
8.0.270.0070.00017.28
8.0.260.0000.00917.29
8.0.250.0050.00216.91
8.0.240.0000.00717.04
8.0.230.0030.00317.01
8.0.220.0000.00716.91
8.0.210.0000.00716.89
8.0.200.0020.00517.02
8.0.190.0000.00817.02
8.0.180.0030.00616.91
8.0.170.0050.00216.97
8.0.160.0000.00816.93
8.0.150.0040.00416.89
8.0.140.0040.00416.94
8.0.130.0000.00513.35
8.0.120.0070.00016.84
8.0.110.0000.00716.88
8.0.100.0030.00516.82
8.0.90.0040.00417.01
8.0.80.0090.00616.89
8.0.70.0000.00717.01
8.0.60.0000.00716.76
8.0.50.0090.00017.04
8.0.30.0070.01217.23
8.0.20.0070.01117.40
8.0.10.0040.00416.96
8.0.00.0120.00916.68
7.4.330.0020.00315.08
7.4.320.0000.00616.63
7.4.300.0000.00616.52
7.4.290.0030.00316.57
7.4.280.0000.00816.48
7.4.270.0030.00316.47
7.4.260.0070.00016.63
7.4.250.0000.00816.50
7.4.240.0040.00316.50
7.4.230.0030.00316.52
7.4.220.0160.00316.65
7.4.210.0150.00616.73
7.4.200.0030.00416.50
7.4.150.0120.00817.40
7.4.140.0100.01017.86
7.4.130.0090.00816.56
7.4.120.0120.00616.57
7.4.110.0140.00416.68
7.4.100.0130.01016.47
7.4.90.0080.00816.46
7.4.80.0100.00719.39
7.4.70.0110.00716.46
7.4.60.0160.00016.49
7.4.50.0060.00316.57
7.4.40.0090.01316.50
7.4.30.0030.02016.28
7.4.10.0110.00714.79
7.4.00.0100.00815.07
7.3.330.0020.00213.30
7.3.320.0050.00013.21
7.3.310.0040.00416.37
7.3.300.0030.00316.25
7.3.290.0050.01216.35
7.3.280.0060.01116.38
7.3.270.0090.00917.40
7.3.260.0070.01116.33
7.3.250.0090.01116.50
7.3.240.0100.00716.39
7.3.230.0170.00016.45
7.3.210.0070.01416.39
7.3.200.0100.01316.64
7.3.190.0090.00616.37
7.3.180.0100.00716.32
7.3.170.0140.00416.48
7.3.160.0070.01616.61
7.3.130.0070.01014.97
7.3.120.0060.01014.90
7.3.110.0070.01114.93
7.3.100.0060.01014.95
7.3.90.0060.00315.06
7.3.80.0060.01015.03
7.3.70.0110.00314.95
7.3.60.0080.00614.93
7.3.50.0070.01114.63
7.3.40.0040.01114.55
7.3.30.0030.00614.81
7.3.20.0090.00616.75
7.3.10.0060.00316.43
7.3.00.0030.00616.57
7.2.330.0190.00316.66
7.2.320.0090.00916.84
7.2.310.0080.00816.77
7.2.300.0090.00816.83
7.2.290.0090.00916.47
7.2.260.0070.01015.27
7.2.250.0030.01515.19
7.2.240.0090.00615.19
7.2.230.0130.00615.29
7.2.220.0060.01214.99
7.2.210.0000.01014.88
7.2.200.0040.01214.74
7.2.190.0070.00715.02
7.2.180.0000.01314.93
7.2.170.0030.01315.13
7.2.160.0070.00715.05
7.2.150.0030.01216.93
7.2.140.0000.01416.73
7.2.130.0060.00916.86
7.2.120.0070.00316.90
7.2.110.0070.00316.89
7.2.100.0150.00016.93
7.2.90.0060.01217.06
7.2.80.0060.00916.66
7.2.70.0060.00916.86
7.2.60.0020.01316.85
7.2.50.0070.01016.97
7.2.40.0070.00716.99
7.2.30.0100.00716.96
7.2.20.0030.01016.87
7.2.10.0000.01316.93
7.2.00.0100.00418.30
7.1.330.0040.00915.81
7.1.320.0090.00615.90
7.1.310.0110.00315.86
7.1.300.0080.00815.73
7.1.290.0000.01015.90
7.1.280.0000.01515.87
7.1.270.0140.00015.62
7.1.260.0030.01215.73
7.1.250.0030.01015.90
7.1.240.0000.01515.59
7.1.230.0050.00315.87
7.1.220.0060.01015.73
7.1.210.0030.01415.57
7.1.200.0060.00515.80
7.1.190.0040.00815.94
7.1.180.0000.01315.69
7.1.170.0090.00615.74
7.1.160.0120.00015.91
7.1.150.0050.00515.81
7.1.140.0040.00415.84
7.1.130.0030.01015.65
7.1.120.0130.00015.57
7.1.110.0030.00615.65
7.1.100.0080.01016.86
7.1.90.0030.01015.61
7.1.80.0040.00815.70
7.1.70.0030.00816.38
7.1.60.0070.00817.33
7.1.50.0050.01516.22
7.1.40.0070.00715.79
7.1.30.0060.00615.65
7.1.20.0100.00315.73
7.1.10.0060.00915.65
7.1.00.0060.03619.13
7.0.330.0080.00615.47
7.0.320.0110.00415.21
7.0.310.0060.01015.29
7.0.300.0060.00315.36
7.0.290.0090.00615.36
7.0.280.0000.01315.38
7.0.270.0080.00815.35
7.0.260.0040.01015.46
7.0.250.0060.00315.40
7.0.240.0040.01215.55
7.0.230.0070.00715.41
7.0.220.0030.00915.30
7.0.210.0110.00315.33
7.0.200.2180.00314.98
7.0.190.0040.01115.33
7.0.180.0060.00615.05
7.0.170.0060.00315.45
7.0.160.0070.00715.52
7.0.150.0060.00615.42
7.0.140.0000.01415.45
7.0.130.0070.00415.48
7.0.120.0100.00315.47
7.0.110.0090.00615.27
7.0.100.0060.00315.38
7.0.90.0000.01015.18
7.0.80.0030.01015.43
7.0.70.0000.01015.37
7.0.60.0100.01817.76
7.0.50.0050.04716.67
7.0.40.0070.03216.86
7.0.30.0220.02616.90
7.0.20.0120.02916.90
7.0.10.0080.04316.64
7.0.00.0070.04016.73
5.6.400.0060.00914.60
5.6.390.0060.00614.21
5.6.380.0090.00314.30
5.6.370.0060.00614.36
5.6.360.0050.00514.71
5.6.350.0070.01014.42
5.6.340.0100.00714.41
5.6.330.0060.00614.54
5.6.320.0130.00314.53
5.6.310.0030.00914.32
5.6.300.0070.00814.36
5.6.290.0110.00414.34
5.6.280.0030.04117.64
5.6.270.0090.00614.54
5.6.260.0000.01014.38
5.6.250.0040.01114.45
5.6.240.0060.00614.33
5.6.230.0110.00314.26
5.6.220.0060.00614.34
5.6.210.0070.03717.66
5.6.200.0050.04916.29
5.6.190.0050.03117.68
5.6.180.0100.02517.36
5.6.170.0180.04017.48
5.6.160.0050.04517.53
5.6.150.0070.02916.41
5.6.140.0090.02716.35
5.6.130.0120.04216.32
5.6.120.0070.03017.76
5.6.110.0100.03517.62
5.6.100.0090.03017.70
5.6.90.0030.02717.70
5.6.80.0070.03217.46
5.6.70.0100.03317.34
5.6.60.0040.01114.43
5.6.50.0070.01013.95
5.6.40.0070.00714.37
5.6.30.0120.00614.20
5.6.20.0090.00314.39
5.6.10.0040.01114.63
5.6.00.0190.00014.35
5.5.380.0030.01214.49
5.5.370.0070.00414.58
5.5.360.0040.01114.41
5.5.350.1970.02517.30
5.5.340.0080.04016.17
5.5.330.0130.03217.47
5.5.320.0200.02017.49
5.5.310.0400.02817.33
5.5.300.0080.03316.16
5.5.290.0070.04516.15
5.5.280.0050.04717.55
5.5.270.0060.03617.74
5.5.260.0050.04117.69
5.5.250.0050.04717.46
5.5.240.0120.04617.28
5.5.230.0060.01014.36
5.5.220.0070.00714.16
5.5.210.0070.00714.19
5.5.200.0040.01514.51
5.5.190.0070.01014.37
5.5.180.0000.01314.52
5.5.170.0090.00614.49
5.5.160.0000.01414.38
5.5.150.0070.00714.21
5.5.140.0060.00914.55
5.5.130.0000.01314.39
5.5.120.0000.01414.48
5.5.110.0150.00414.44
5.5.100.0070.01013.88
5.5.90.0070.01014.26
5.5.80.0070.00714.39
5.5.70.0060.00914.12
5.5.60.0000.01214.36
5.5.50.0070.00714.41
5.5.40.0030.01014.40
5.5.30.0000.01414.47
5.5.20.0000.01014.37
5.5.10.0100.00314.11
5.5.00.0110.00314.54
5.4.450.0330.03115.28
5.4.440.0360.02615.29
5.4.430.0320.02915.36
5.4.420.0350.02915.24
5.4.410.0350.03115.15
5.4.400.0410.03115.17
5.4.390.0420.03015.13
5.4.380.0470.02815.26
5.4.370.0450.02515.11
5.4.360.0400.03315.05
5.4.350.0380.04015.11
5.4.340.0390.03314.97
5.4.330.0060.00610.98
5.4.320.0350.04015.05
5.4.310.0370.02714.99
5.4.300.0330.02815.11
5.4.290.0400.03215.17
5.4.280.0450.03015.14
5.4.270.0370.02815.23
5.4.260.0470.02515.15
5.4.250.0420.02915.21
5.4.240.0460.02915.16
5.4.230.0470.04014.97
5.4.220.0390.03414.99
5.4.210.0430.04015.18
5.4.200.0370.03515.26
5.4.190.0440.03914.96
5.4.180.0370.03115.17
5.4.170.0360.03315.05
5.4.160.0300.03115.10
5.4.150.0330.03014.95
5.4.140.0370.02813.86
5.4.130.0330.02713.79
5.4.120.0400.03213.72
5.4.110.0330.03113.65
5.4.100.0320.02813.95
5.4.90.0390.02213.82
5.4.80.0350.02613.65
5.4.70.0130.02013.74
5.4.60.0130.02513.78
5.4.50.0070.03513.63
5.4.40.0050.02913.70
5.4.30.0020.02413.79
5.4.20.0020.03913.72
5.4.10.0030.00311.15
5.4.00.0090.00011.17

preferences:
46.17 ms | 401 KiB | 5 Q