3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Raumschiff_fabrik { public $geschwindigkeit = 5; public $schild = 3; public $leben = 10; public $name; function __construct($neuer_name) { $this->name = $neuer_name; echo 'hier'; } public function nextText() { echo 'da'; } } $schiff1 = new Raumschiff_fabrik('Imhotep'); echo $schiff1->name; echo '<br />'; echo $schiff1->nextText; ?>

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.0140.00318.79
8.3.30.0070.00719.23
8.3.20.0040.00420.16
8.3.10.0080.00023.51
8.3.00.0080.00019.38
8.2.170.0120.00322.96
8.2.160.0070.00720.26
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00022.25
8.2.110.0110.00020.94
8.2.100.0070.00317.91
8.2.90.0000.00719.05
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0060.00318.04
8.2.50.0040.00418.07
8.2.40.0030.00519.88
8.2.30.0000.00718.27
8.2.20.0000.00717.68
8.2.10.0050.00218.00
8.2.00.0030.00617.61
8.1.270.0040.00423.92
8.1.260.0070.00026.35
8.1.250.0000.00928.09
8.1.240.0100.00022.68
8.1.230.0000.01018.79
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0090.00017.23
8.1.180.0000.00918.10
8.1.170.0080.00018.57
8.1.160.0040.00421.95
8.1.150.0030.00618.48
8.1.140.0000.00717.38
8.1.130.0070.00017.83
8.1.120.0070.00017.28
8.1.110.0000.00717.36
8.1.100.0050.00217.36
8.1.90.0040.00417.29
8.1.80.0040.00417.45
8.1.70.0030.00317.36
8.1.60.0040.00417.55
8.1.50.0030.00617.56
8.1.40.0060.00317.39
8.1.30.0040.00417.71
8.1.20.0040.00417.62
8.1.10.0040.00417.63
8.1.00.0050.00217.53
8.0.300.0040.00418.84
8.0.290.0000.00817.18
8.0.280.0030.00318.43
8.0.270.0030.00317.33
8.0.260.0060.00017.25
8.0.250.0000.00717.06
8.0.240.0030.00316.90
8.0.230.0060.00016.96
8.0.220.0040.00416.89
8.0.210.0050.00316.75
8.0.200.0000.00616.84
8.0.190.0040.00417.03
8.0.180.0060.00616.91
8.0.170.0080.00016.88
8.0.160.0000.00816.83
8.0.150.0070.00016.80
8.0.140.0030.00316.82
8.0.130.0030.00313.31
8.0.120.0080.00016.91
8.0.110.0000.00716.85
8.0.100.0000.00716.84
8.0.90.0000.00716.88
8.0.80.0090.00716.84
8.0.70.0030.00516.84
8.0.60.0030.00616.96
8.0.50.0000.00816.88
8.0.30.0080.01117.04
8.0.20.0090.01117.40
8.0.10.0040.00416.89
8.0.00.0120.00816.66
7.4.330.0000.00515.00
7.4.320.0000.00616.55
7.4.300.0030.00316.61
7.4.290.0000.00816.46
7.4.280.0040.00316.44
7.4.270.0030.00316.52
7.4.260.0000.00716.48
7.4.250.0080.00016.39
7.4.240.0030.00416.57
7.4.230.0000.00716.60
7.4.220.0160.00916.62
7.4.210.0080.00816.58
7.4.200.0000.00716.48
7.4.190.0000.00716.47
7.4.160.0150.00416.46
7.4.150.0100.00717.40
7.4.140.0130.00717.86
7.4.130.0130.00316.54
7.4.120.0090.00916.58
7.4.110.0160.00016.36
7.4.100.0120.00616.73
7.4.90.0120.00916.52
7.4.80.0150.00919.39
7.4.70.0120.00916.39
7.4.60.0140.01116.31
7.4.50.0030.00516.37
7.4.40.0090.00916.50
7.4.30.0080.00816.50
7.4.10.0080.00915.02
7.4.00.0070.01015.07
7.3.330.0040.00413.36
7.3.320.0000.00713.33
7.3.310.0000.00716.11
7.3.300.0030.00316.29
7.3.290.0070.00716.38
7.3.280.0100.00816.31
7.3.270.0120.00417.40
7.3.260.0090.00916.35
7.3.250.0120.00616.38
7.3.240.0100.00616.34
7.3.230.0100.00716.39
7.3.210.0090.00916.36
7.3.200.0090.00919.39
7.3.190.0040.01916.34
7.3.180.0030.01416.43
7.3.170.0080.00716.37
7.3.160.0060.00916.35
7.3.130.0040.01314.82
7.3.120.0050.01114.80
7.3.110.0090.00914.59
7.3.100.0120.00314.64
7.3.90.0050.01114.72
7.3.80.0090.00514.93
7.3.70.0040.01014.87
7.3.60.0070.00314.74
7.3.50.0050.00714.79
7.3.40.0050.00814.83
7.3.30.0050.00614.82
7.3.20.0020.01116.64
7.3.10.0020.01016.49
7.3.00.0090.00616.60
7.2.330.0070.01016.39
7.2.320.0110.01116.74
7.2.310.0060.01116.61
7.2.300.0140.00916.86
7.2.290.0110.00716.64
7.2.260.0050.01215.16
7.2.250.0130.00614.92
7.2.240.0020.01415.14
7.2.230.0080.00814.89
7.2.220.0060.00915.05
7.2.210.0040.01215.08
7.2.200.0070.00714.91
7.2.190.0070.00714.99
7.2.180.0090.00714.90
7.2.170.0030.00715.11
7.2.160.0050.01015.09
7.2.150.0050.00717.12
7.2.140.0090.00516.72
7.2.130.0090.00616.87
7.2.120.0020.01216.99
7.2.110.0060.00916.93
7.2.100.0080.00717.07
7.2.90.0070.00617.02
7.2.80.0060.00816.91
7.2.70.0020.01116.82
7.2.60.0070.00816.93
7.2.50.0060.00716.90
7.2.40.0060.00616.92
7.2.30.0040.00816.79
7.2.20.0060.00716.90
7.2.10.0070.00516.98
7.2.00.0030.01117.52
7.1.330.0030.01015.65
7.1.320.0070.01015.71
7.1.310.0050.00915.66
7.1.300.0070.00315.74
7.1.290.0030.00715.52
7.1.280.0090.00415.62
7.1.270.0060.01015.94
7.1.260.0100.00515.63
7.1.250.0080.00515.68
7.1.240.0060.00615.74
7.1.230.0070.00515.84
7.1.220.0060.00515.71
7.1.210.0040.00715.71
7.1.200.0070.00515.73
7.1.190.0070.00615.79
7.1.180.0040.01015.81
7.1.170.0050.00615.66
7.1.160.0060.00715.86
7.1.150.0040.00715.66
7.1.140.0050.00615.56
7.1.130.0040.00615.75
7.1.120.0060.00715.63
7.1.110.0070.00515.71
7.1.100.0060.00616.30
7.1.90.0080.00415.81
7.1.80.0080.00615.82
7.1.70.0040.00616.02
7.1.60.0050.00716.73
7.1.50.0050.00716.05
7.1.40.0060.00815.69
7.1.30.0040.00615.63
7.1.20.0050.00515.92
7.1.10.0020.00615.59
7.1.00.0080.02117.23
7.0.330.0010.01215.24
7.0.320.0060.00815.33
7.0.310.0050.00515.50
7.0.300.0040.00915.36
7.0.290.0070.00515.39
7.0.280.0040.00815.36
7.0.270.0040.00815.28
7.0.260.0030.00815.36
7.0.250.0070.00515.24
7.0.240.0040.00715.36
7.0.230.0040.00915.41
7.0.220.0050.00615.34
7.0.210.0030.00615.49
7.0.200.0060.00615.64
7.0.190.0080.00615.47
7.0.180.0050.00715.41
7.0.170.0080.00615.34
7.0.160.0080.00515.32
7.0.150.0060.00715.35
7.0.140.0040.02117.07
7.0.130.0040.00715.48
7.0.120.0040.00815.35
7.0.110.0070.00515.48
7.0.100.0050.00615.31
7.0.90.0040.01015.24
7.0.80.0060.00815.26
7.0.70.0040.00715.40
7.0.60.0070.02416.49
7.0.50.0090.02416.09
7.0.40.0070.02714.99
7.0.30.0040.02715.12
7.0.20.0120.01815.12
7.0.10.0060.02815.02
7.0.00.0050.02115.06
5.6.400.0060.01014.23
5.6.390.0050.00914.54
5.6.380.0040.00714.45
5.6.370.0070.00614.37
5.6.360.0030.01014.27
5.6.350.0090.00214.49
5.6.340.0040.00714.52
5.6.330.0080.00214.41
5.6.320.0060.00514.57
5.6.310.0030.00914.31
5.6.300.0080.00314.35
5.6.290.0070.00814.11
5.6.280.0050.02516.08
5.6.270.0040.00814.46
5.6.260.0080.00514.33
5.6.250.0020.00814.36
5.6.240.0070.00614.36
5.6.230.0110.00314.35
5.6.220.0020.00814.38
5.6.210.0020.03115.78
5.6.200.0080.02415.28
5.6.190.0050.02115.93
5.6.180.0090.01115.91
5.6.170.0110.01815.82
5.6.160.0060.02715.89
5.6.150.0090.02315.32
5.6.140.0080.02315.26
5.6.130.0060.02015.36
5.6.120.0040.02815.97
5.6.110.0080.01416.04
5.6.100.0070.02316.10
5.6.90.0090.02015.93
5.6.80.0110.02215.82
5.6.70.0020.01014.27
5.6.60.0040.00914.33
5.6.50.0040.00914.18
5.6.40.0080.00614.22
5.6.30.0060.00814.41
5.6.20.0050.00714.28
5.6.10.0070.00614.41
5.6.00.0060.00614.25
5.5.380.0050.00513.22
5.5.370.0070.00413.13
5.5.360.0060.00413.34
5.5.350.0990.01614.95
5.5.340.0100.01814.59
5.5.330.0060.01714.95
5.5.320.0100.02515.02
5.5.310.0130.02214.90
5.5.300.0030.01614.45
5.5.290.0030.02214.28
5.5.280.0050.02715.13
5.5.270.0060.01814.86
5.5.260.0080.02315.05
5.5.250.0050.02514.88
5.5.240.0050.02114.82
5.5.230.0050.00813.21
5.5.220.0030.00713.24
5.5.210.0050.00613.06
5.5.200.0090.00413.09
5.5.190.0080.00513.18
5.5.180.0040.00813.33
5.5.170.0050.00412.98
5.5.160.0060.00813.21
5.5.150.0050.00713.17
5.5.140.0060.00713.18
5.5.130.0020.01113.17
5.5.120.0040.00813.13
5.5.110.0040.01013.16
5.5.100.0050.00813.10
5.5.90.0050.00513.23
5.5.80.0010.01113.32
5.5.70.0040.00613.07
5.5.60.0070.00313.16
5.5.50.0040.00913.16
5.5.40.0070.00613.22
5.5.30.0040.00613.16
5.5.20.0040.00813.20
5.5.10.0040.00913.23
5.5.00.0030.00613.01
5.4.450.0090.02213.44
5.4.440.0240.02013.60
5.4.430.0230.01713.48
5.4.420.0080.02013.43
5.4.410.0070.01913.40
5.4.400.0170.02013.32
5.4.390.0030.01913.41
5.4.380.0080.01813.25
5.4.370.0060.01913.26
5.4.360.0080.01813.26
5.4.350.0100.01413.28
5.4.340.0070.01813.16
5.4.330.0020.00811.51
5.4.320.0040.01511.80
5.4.310.0050.02111.73
5.4.300.0050.01511.72
5.4.290.0090.02211.72
5.4.280.0040.01611.61
5.4.270.0040.01611.69
5.4.260.0040.01511.68
5.4.250.0040.01711.64
5.4.240.0060.01111.70
5.4.230.0050.01511.69
5.4.220.0050.01411.65
5.4.210.0050.01811.58
5.4.200.0040.01311.68
5.4.190.0060.01311.53
5.4.180.0080.01311.60
5.4.170.0040.01911.60
5.4.160.0060.01511.61
5.4.150.0040.02111.55
5.4.140.0060.01811.57
5.4.130.0040.01711.64
5.4.120.0050.01711.64
5.4.110.0090.01611.58
5.4.100.0060.02011.53
5.4.90.0070.02111.58
5.4.80.0080.02111.63
5.4.70.0090.02011.58
5.4.60.0060.01911.62
5.4.50.0070.02011.64
5.4.40.0080.02011.58
5.4.30.0090.01111.61
5.4.20.0080.02211.70
5.4.10.0060.01211.65
5.4.00.0070.01511.44
5.3.290.0040.01411.65
5.3.280.0120.01911.60
5.3.270.0050.01611.62
5.3.260.0040.01411.54
5.3.250.0040.01611.55
5.3.240.0080.01411.55
5.3.230.0020.02511.57
5.3.220.0070.01311.43
5.3.210.0060.01511.47
5.3.200.0040.01411.39
5.3.190.0030.01711.51
5.3.180.0030.01811.49
5.3.170.0060.02011.57
5.3.160.0090.03211.54
5.3.150.0060.01711.57
5.3.140.0070.01711.53
5.3.130.0080.02211.58
5.3.120.0050.02411.46
5.3.110.0040.01911.51
5.3.100.0030.01911.33
5.3.90.0030.01811.36
5.3.80.0090.01811.33
5.3.70.0100.01811.31
5.3.60.0050.01211.41
5.3.50.0050.01311.32
5.3.40.0060.01211.38
5.3.30.0030.01511.36
5.3.20.0050.01411.33
5.3.10.0040.01511.24
5.3.00.0040.01411.17
5.2.170.0040.0229.62
5.2.160.0040.0199.62
5.2.150.0070.0199.62
5.2.140.0060.0299.61
5.2.130.0060.0469.60
5.2.120.0040.0239.59
5.2.110.0070.0269.60
5.2.100.0060.0239.60
5.2.90.0030.0249.60
5.2.80.0090.0229.59
5.2.70.0040.0249.59
5.2.60.0100.0359.57
5.2.50.0080.0389.56
5.2.40.0020.0249.54
5.2.30.0070.0199.53
5.2.20.0070.0139.53
5.2.10.0040.0209.48
5.2.00.0040.0209.41
5.1.60.0020.0189.05
5.1.50.0040.0159.05
5.1.40.0050.0159.04
5.1.30.0020.0189.22
5.1.20.0050.0149.22
5.1.10.0030.0209.09
5.1.00.0030.0179.09
5.0.50.0020.0138.33
5.0.40.0030.0118.26
5.0.30.0050.0188.16
5.0.20.0010.0138.15
5.0.10.0030.0128.13
5.0.00.0010.0188.13
4.4.90.0020.0107.40
4.4.80.0040.0097.38
4.4.70.0020.0107.38
4.4.60.0030.0107.38
4.4.50.0040.0097.39
4.4.40.0030.0157.36
4.4.30.0020.0097.38
4.4.20.0020.0117.43
4.4.10.0010.0117.43
4.4.00.0010.0167.39
4.3.110.0030.0127.34
4.3.100.0050.0087.34
4.3.90.0020.0117.32
4.3.80.0020.0177.30
4.3.70.0020.0107.32
4.3.60.0020.0137.32
4.3.50.0040.0127.32
4.3.40.0030.0167.27
4.3.30.0050.0146.65
4.3.20.0040.0106.65
4.3.10.0020.0116.62
4.3.00.0060.0119.45

preferences:
49 ms | 400 KiB | 5 Q