3v4l.org

run code in 300+ PHP versions simultaneously
<?php class dupa { public $a = 'j'; public static $NICE = 'STATIC_VALUE'; public function __construct($param) { $this->a = $param; echo '+_construct'.$this->a.self::$NICE; } public function __call($a, $b) { echo 'Wywolano metodÄ™ '.$a.' z parametrami:'; foreach($b as $i=>$val) { echo 'indeks: '.$i.'wartosc: '.$val; } } public function setA($a) { $this->a = $a; } }; $a = new dupa('blabla'); echo $a->a; $b = new dupa(''); echo $b->a; $b->setA('bb'); $b->setb('bb') ?>

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.40.0040.01118.74
8.3.30.0090.00619.06
8.3.20.0040.00420.33
8.3.10.0030.00622.09
8.3.00.0080.00322.37
8.2.170.0110.00622.96
8.2.160.0090.00620.88
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0050.00226.16
8.2.120.0040.00420.89
8.2.110.0110.00019.34
8.2.100.0110.00017.66
8.2.90.0040.00419.21
8.2.80.0030.00617.97
8.2.70.0060.00317.25
8.2.60.0050.00317.80
8.2.50.0050.00318.07
8.2.40.0030.00617.90
8.2.30.0000.00717.99
8.2.20.0070.00017.62
8.2.10.0050.00319.34
8.2.00.0100.00017.51
8.1.270.0090.00022.01
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00021.31
8.1.230.0040.00717.45
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0080.00017.36
8.1.180.0040.00418.10
8.1.170.0030.00718.53
8.1.160.0000.00822.02
8.1.150.0050.00218.61
8.1.140.0000.00717.52
8.1.130.0000.00717.80
8.1.120.0050.00217.49
8.1.110.0040.00417.45
8.1.100.0040.00417.46
8.1.90.0070.00017.42
8.1.80.0000.00717.46
8.1.70.0030.00317.42
8.1.60.0040.00417.63
8.1.50.0000.00717.56
8.1.40.0000.00817.49
8.1.30.0050.00517.49
8.1.20.0080.00017.60
8.1.10.0040.00417.55
8.1.00.0070.00017.51
8.0.300.0000.00718.77
8.0.290.0030.00516.63
8.0.280.0030.00318.46
8.0.270.0030.00417.14
8.0.260.0030.00516.88
8.0.250.0040.00416.81
8.0.240.0000.00816.96
8.0.230.0000.00716.94
8.0.220.0000.00716.89
8.0.210.0000.00816.86
8.0.200.0060.00016.90
8.0.190.0040.00416.88
8.0.180.0040.00416.95
8.0.170.0040.00416.81
8.0.160.0000.00816.79
8.0.150.0040.00416.91
8.0.140.0040.00416.89
8.0.130.0000.00613.40
8.0.120.0050.00316.82
8.0.110.0000.00716.89
8.0.100.0000.00716.77
8.0.90.0000.00716.86
8.0.80.0080.00816.95
8.0.70.0040.00416.75
8.0.60.0070.00016.73
8.0.50.0000.00716.86
8.0.30.0100.01017.17
8.0.20.0100.01117.40
8.0.10.0070.00016.93
8.0.00.0050.01316.76
7.4.330.0060.00015.09
7.4.320.0000.00616.44
7.4.300.0030.00716.46
7.4.290.0030.00616.41
7.4.280.0030.00316.63
7.4.270.0030.00316.43
7.4.260.0030.00316.46
7.4.250.0080.00016.49
7.4.240.0040.00316.61
7.4.230.0070.00016.51
7.4.220.0120.01316.46
7.4.210.0080.00616.63
7.4.200.0070.00016.64
7.4.190.0070.00016.72
7.4.160.0120.00316.34
7.4.150.0110.00817.40
7.4.140.0080.01017.86
7.4.130.0110.00816.50
7.4.120.0120.00516.63
7.4.110.0140.00316.59
7.4.100.0130.00416.61
7.4.90.0150.00316.55
7.4.80.0160.00419.39
7.4.70.0200.00016.42
7.4.60.0120.00316.59
7.4.50.0030.00616.49
7.4.40.0070.01022.77
7.4.30.0100.00716.38
7.4.10.0150.00314.79
7.4.00.0030.01214.53
7.3.330.0000.00513.27
7.3.320.0000.00513.12
7.3.310.0000.00716.36
7.3.300.0030.00316.27
7.3.290.0070.00716.39
7.3.280.0080.01016.30
7.3.270.0100.00717.40
7.3.260.0170.00616.36
7.3.250.0140.00616.42
7.3.240.0040.01316.38
7.3.230.0110.00716.39
7.3.210.0090.00616.47
7.3.200.0070.01119.39
7.3.190.0060.01616.68
7.3.180.0120.00416.63
7.3.170.0080.00816.56
7.3.160.0100.00716.56
7.3.130.0100.00714.75
7.3.120.0050.01114.62
7.3.110.0110.00714.58
7.3.100.0100.00314.97
7.3.90.0070.00715.03
7.3.80.0030.00914.88
7.3.70.0100.00714.79
7.3.60.0070.01014.68
7.3.50.0110.00314.71
7.3.40.0070.01014.79
7.3.30.0060.00314.64
7.3.20.0040.00816.68
7.3.10.0090.00516.59
7.3.00.0070.00416.47
7.2.330.0140.00316.85
7.2.320.0090.00916.50
7.2.310.0160.00016.55
7.2.300.0070.02516.60
7.2.290.0120.00616.53
7.2.260.0030.01414.84
7.2.250.0030.01315.09
7.2.240.0000.01214.97
7.2.230.0060.00814.98
7.2.220.0030.01215.00
7.2.210.0070.00315.12
7.2.200.0000.01015.13
7.2.190.0080.00314.83
7.2.180.0030.01214.95
7.2.170.0080.00715.04
7.2.160.0000.01215.13
7.2.150.0030.01016.84
7.2.140.0030.01416.94
7.2.130.0050.00716.92
7.2.120.0030.01016.81
7.2.110.0020.01216.95
7.2.100.0080.00816.91
7.2.90.0070.00916.97
7.2.80.0070.00816.75
7.2.70.0110.00316.98
7.2.60.0070.00716.91
7.2.50.0050.00716.88
7.2.40.0030.01116.96
7.2.30.0070.00816.91
7.2.20.0030.01116.89
7.2.10.0030.00917.00
7.2.00.0040.01117.71
7.1.330.0060.00615.70
7.1.320.0060.00615.91
7.1.310.0080.00415.48
7.1.300.0090.00015.55
7.1.290.0080.00315.45
7.1.280.0030.00615.58
7.1.270.0040.01115.55
7.1.260.0040.01115.52
7.1.250.0060.00515.73
7.1.240.0000.00815.80
7.1.230.0070.00315.78
7.1.220.0070.00715.75
7.1.210.0040.01115.55
7.1.200.0070.00715.89
7.1.190.0070.00715.52
7.1.180.0000.01015.75
7.1.170.0110.00415.63
7.1.160.0030.00615.69
7.1.150.0000.01415.89
7.1.140.0060.01215.88
7.1.130.0060.00615.49
7.1.120.0040.01215.66
7.1.110.0110.00415.91
7.1.100.0080.00316.93
7.1.90.0050.00615.86
7.1.80.0120.00315.71
7.1.70.0110.00516.53
7.1.60.0100.01017.88
7.1.50.0070.00716.36
7.1.40.0090.00615.49
7.1.30.0040.00715.73
7.1.20.0060.00615.71
7.1.10.0100.00315.65
7.1.00.0030.04219.08
7.0.330.0030.00615.45
7.0.320.0090.00015.40
7.0.310.0030.00615.58
7.0.300.0050.00515.07
7.0.290.0030.00615.37
7.0.280.0120.00615.39
7.0.270.0110.00415.30
7.0.260.0000.01615.15
7.0.250.0110.00415.23
7.0.240.0000.00915.27
7.0.230.0070.00715.57
7.0.220.0080.00015.40
7.0.210.0030.00915.50
7.0.200.0070.00515.99
7.0.190.0030.00915.43
7.0.180.0050.00515.22
7.0.170.0080.00515.52
7.0.160.0110.00415.25
7.0.150.0130.00015.44
7.0.140.0030.04218.79
7.0.130.0050.00515.32
7.0.120.0000.01715.52
7.0.110.0090.00015.39
7.0.100.0090.04417.53
7.0.90.0070.04117.65
7.0.80.0080.03617.81
7.0.70.0100.03617.62
7.0.60.0030.04917.63
7.0.50.0020.02817.85
7.0.40.0050.04916.75
7.0.30.0090.02316.77
7.0.20.0040.04216.70
7.0.10.0110.03816.62
7.0.00.0080.02816.77
5.6.400.0120.00314.10
5.6.390.0100.00414.58
5.6.380.0030.01414.59
5.6.370.0040.00414.55
5.6.360.0040.01114.54
5.6.350.0100.00714.25
5.6.340.0120.00614.59
5.6.330.0060.00914.50
5.6.320.0070.00714.69
5.6.310.0030.01014.44
5.6.300.0000.01214.61
5.6.290.0030.00714.55
5.6.280.0020.04417.74
5.6.270.0100.00314.21
5.6.260.0030.01014.13
5.6.250.0070.04717.43
5.6.240.0080.04717.36
5.6.230.0050.04317.44
5.6.220.0050.04717.44
5.6.210.0080.04117.45
5.6.200.0070.05717.74
5.6.190.0070.04717.70
5.6.180.0050.04517.68
5.6.170.0100.03317.66
5.6.160.0060.04817.60
5.6.150.0050.06217.72
5.6.140.0070.02917.63
5.6.130.0100.04017.62
5.6.120.0030.04817.81
5.6.110.0040.04717.59
5.6.100.0060.04317.80
5.6.90.0070.04317.70
5.6.80.0100.03817.21
5.6.70.0030.04017.21
5.6.60.0100.03917.31
5.6.50.0020.03417.30
5.6.40.0070.02117.34
5.6.30.0100.03817.40
5.6.20.0070.03717.22
5.6.10.0030.04017.25
5.6.00.0040.03517.25
5.5.380.0110.04117.29
5.5.370.0030.04417.44
5.5.360.0090.04317.29
5.5.350.0060.04117.30
5.5.340.0020.04417.48
5.5.330.0060.04617.37
5.5.320.0040.04417.32
5.5.310.0040.04117.39
5.5.300.0070.04717.48
5.5.290.0080.04017.61
5.5.280.0040.04817.56
5.5.270.0030.02817.40
5.5.260.0010.03217.65
5.5.250.0050.02217.31
5.5.240.0090.02517.25
5.5.230.0050.03017.23
5.5.220.0070.04017.19
5.5.210.0030.03217.17
5.5.200.0070.04017.26
5.5.190.0050.04217.21
5.5.180.0080.04017.03
5.5.170.0060.00614.29
5.5.160.0040.03417.24
5.5.150.0100.03317.27
5.5.140.0070.04417.29
5.5.130.0010.04517.06
5.5.120.0080.03817.36
5.5.110.0030.04217.13
5.5.100.0030.04317.21
5.5.90.0070.04017.01
5.5.80.0030.03317.25
5.5.70.0070.04817.20
5.5.60.0070.04017.09
5.5.50.0050.04317.13
5.5.40.0070.03717.06
5.5.30.0130.03617.23
5.5.20.0060.03817.18
5.5.10.0130.03817.14
5.5.00.0100.03817.14
5.4.450.0020.02615.33
5.4.440.0040.04415.27
5.4.430.0030.04115.28
5.4.420.0030.02215.24
5.4.410.0080.03615.11
5.4.400.0030.04415.21
5.4.390.0080.03714.98
5.4.380.0020.03415.10
5.4.370.0050.03915.15
5.4.360.0060.03915.02
5.4.350.0020.02715.18
5.4.340.0090.03615.30
5.4.330.0060.00611.32
5.4.320.0050.03215.07
5.4.310.0110.03615.13
5.4.300.0050.03715.24
5.4.290.0030.04415.19
5.4.280.0080.03815.07
5.4.270.0060.04315.13
5.4.260.0030.03315.11
5.4.250.0000.03615.21
5.4.240.0030.04314.96
5.4.230.0030.04714.98
5.4.220.0090.01914.99
5.4.210.0020.04214.92
5.4.200.0050.04015.20
5.4.190.0080.03815.23
5.4.180.0020.04415.16
5.4.170.0080.03415.09
5.4.160.0100.02515.06
5.4.150.0020.04415.04
5.4.140.0100.03713.80
5.4.130.0050.02813.81
5.4.120.0050.03513.62
5.4.110.0080.03513.84
5.4.100.0070.04113.73
5.4.90.0000.04313.73
5.4.80.0020.04313.82
5.4.70.0060.02213.71
5.4.60.0050.03313.81
5.4.50.0050.03713.63
5.4.40.0020.03513.81
5.4.30.0050.03513.70
5.4.20.0050.02313.67
5.4.10.0030.04113.63
5.4.00.0000.04613.54
5.3.290.0080.02612.75
5.3.280.0030.03512.67
5.3.270.0080.03312.72
5.3.260.0030.02812.63
5.3.250.0050.04112.60
5.3.240.0010.04512.61
5.3.230.0070.03712.63
5.3.220.0060.02012.56
5.3.210.0080.03312.59
5.3.200.0080.03712.49
5.3.190.0080.04112.57
5.3.180.0030.04212.59
5.3.170.0020.04212.67
5.3.160.0040.04012.63
5.3.150.0030.03912.52
5.3.140.0030.04112.60
5.3.130.0010.04312.56
5.3.120.0070.04012.54
5.3.110.0030.02512.63
5.3.100.0030.04112.30
5.3.90.0050.03712.33
5.3.80.0000.02612.29
5.3.70.0030.03612.23
5.3.60.0040.04012.17
5.3.50.0040.03812.12
5.3.40.0050.02712.18
5.3.30.0070.03912.23
5.3.20.0020.04312.20
5.3.10.0080.03312.04
5.3.00.0070.03011.95
5.2.170.0100.05311.21
5.2.160.0130.03711.16
5.2.150.0070.04711.19
5.2.140.0070.05711.00
5.2.130.0030.06311.17
5.2.120.0030.04311.10
5.2.110.0070.07011.22
5.2.100.0130.02311.21
5.2.90.0100.06011.11
5.2.80.0070.05711.04
5.2.70.0030.05711.20
5.2.60.0000.04310.92
5.2.50.0030.06011.17
5.2.40.0100.05011.01
5.2.30.0030.06311.04
5.2.20.0000.06311.11
5.2.10.0030.04310.90
5.2.00.0070.05710.63
5.1.60.0070.05310.00
5.1.50.0100.05010.09
5.1.40.0070.05010.02
5.1.30.0030.02710.47
5.1.20.0000.03710.47
5.1.10.0070.04710.11
5.1.00.0000.05010.09
5.0.50.0030.0479.30
5.0.40.0000.0479.30
5.0.30.0000.0609.30
5.0.20.0030.0409.30
5.0.10.0070.0409.30
5.0.00.0030.0479.30
4.4.90.0000.0379.30
4.4.80.0000.0339.30
4.4.70.0030.0379.30
4.4.60.0000.0209.30
4.4.50.0000.0379.30
4.4.40.0000.0379.30
4.4.30.0030.0239.30
4.4.20.0070.0179.30
4.4.10.0000.0279.30
4.4.00.0000.0509.30
4.3.110.0000.0379.30
4.3.100.0030.0339.30
4.3.90.0030.0279.30
4.3.80.0070.0509.30
4.3.70.0070.0239.30
4.3.60.0100.0279.30
4.3.50.0070.0339.30
4.3.40.0000.0539.30
4.3.30.0000.0379.30
4.3.20.0000.0309.30
4.3.10.0000.0309.30
4.3.00.0000.0379.30

preferences:
42.17 ms | 400 KiB | 5 Q