3v4l.org

run code in 300+ PHP versions simultaneously
<?php class sfUser { public $suchergebnis=array(); public function getSuchergebnis(){ var_dump($this->suchergebnis); return $this->suchergebnis; } } $mockUser=new sfUser(); $mockUser->getSuchergebnis(); $ergebnis= array('ergebnis'=>array('hits'=>15)); $mockUser->suchergebnis=$ergebnis; var_dump($mockUser->suchergebnis); $mockUser->getSuchergebnis();

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.0090.00618.30
8.3.50.0100.00922.11
8.3.40.0130.00318.85
8.3.30.0110.01119.01
8.3.20.0040.00420.33
8.3.10.0050.00323.67
8.3.00.0040.00419.56
8.2.180.0000.01416.50
8.2.170.0120.00322.96
8.2.160.0150.00020.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00820.90
8.2.110.0090.00022.26
8.2.100.0110.00020.40
8.2.90.0040.00419.17
8.2.80.0060.00317.97
8.2.70.0060.00317.38
8.2.60.0050.00318.04
8.2.50.0000.00818.07
8.2.40.0080.00019.54
8.2.30.0050.00318.10
8.2.20.0000.00717.61
8.2.10.0070.00018.00
8.2.00.0080.00017.73
8.1.280.0070.00725.92
8.1.270.0000.00823.91
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00922.20
8.1.230.0080.00419.16
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0030.00517.11
8.1.180.0030.00518.10
8.1.170.0060.00318.51
8.1.160.0060.00321.96
8.1.150.0040.00418.74
8.1.140.0000.00817.39
8.1.130.0000.00717.75
8.1.120.0070.00017.48
8.1.110.0000.00817.39
8.1.100.0040.00417.33
8.1.90.0000.00717.39
8.1.80.0000.00717.29
8.1.70.0080.00017.41
8.1.60.0050.00217.60
8.1.50.0040.00417.36
8.1.40.0070.00017.53
8.1.30.0050.00317.47
8.1.20.0040.00417.64
8.1.10.0000.00717.43
8.1.00.0050.00317.50
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00318.26
8.0.270.0040.00417.11
8.0.260.0050.00217.17
8.0.250.0070.00016.91
8.0.240.0030.00316.88
8.0.230.0030.00316.93
8.0.220.0030.00316.81
8.0.210.0040.00416.77
8.0.200.0060.00016.91
8.0.190.0000.01016.87
8.0.180.0030.00616.88
8.0.170.0040.00416.77
8.0.160.0030.00416.70
8.0.150.0000.00816.82
8.0.140.0000.00816.75
8.0.130.0030.00313.27
8.0.120.0000.00716.77
8.0.110.0000.00816.77
8.0.100.0020.00516.65
8.0.90.0000.00716.82
8.0.80.0040.01516.88
8.0.70.0040.00416.71
8.0.60.0040.00416.71
8.0.50.0000.00816.71
8.0.30.0070.01217.17
8.0.20.0150.00917.40
8.0.10.0000.00716.84
8.0.00.0080.00916.68
7.4.330.0020.00215.09
7.4.320.0000.00616.54
7.4.300.0000.00616.41
7.4.290.0030.00316.42
7.4.280.0070.00416.45
7.4.270.0000.00716.56
7.4.260.0030.00316.59
7.4.250.0040.00416.46
7.4.240.0070.00016.53
7.4.230.0000.00716.34
7.4.220.0160.00316.57
7.4.210.0100.00316.71
7.4.200.0070.00016.54
7.4.160.0100.00716.20
7.4.150.0060.01717.40
7.4.140.0090.01117.86
7.4.130.0100.00716.42
7.4.120.0110.01116.51
7.4.110.0140.01116.38
7.4.100.0130.00316.56
7.4.90.0130.00416.32
7.4.80.0120.00619.39
7.4.70.0060.01516.54
7.4.60.0100.00616.47
7.4.50.0040.00416.31
7.4.40.0100.00616.55
7.4.30.0130.00416.34
7.4.00.0040.01415.18
7.3.330.0030.00313.21
7.3.320.0000.00513.01
7.3.310.0070.00016.05
7.3.300.0000.00616.10
7.3.290.0000.01516.26
7.3.280.0130.00716.23
7.3.270.0140.00817.40
7.3.260.0130.01016.22
7.3.250.0080.01016.23
7.3.240.0140.00316.23
7.3.230.0100.00616.39
7.3.210.0170.00716.25
7.3.200.0040.01219.39
7.3.190.0110.01116.31
7.3.180.0070.01316.13
7.3.170.0060.01016.49
7.3.160.0120.00316.14
7.3.120.0090.00614.98
7.3.10.0110.00816.40
7.3.00.0100.01016.44
7.2.330.0100.01016.61
7.2.320.0090.00916.26
7.2.310.0100.00716.56
7.2.300.0070.01716.77
7.2.290.0080.00916.37
7.2.130.0110.01116.45
7.2.120.0130.00816.54
7.2.110.0070.01016.48
7.2.100.0060.00616.33
7.2.90.0070.00716.79
7.2.80.0030.00616.34
7.2.70.0040.01116.53
7.2.60.0260.00616.63
7.2.50.0040.01216.54
7.2.40.0080.00816.75
7.2.30.0110.00716.79
7.2.20.0130.01016.60
7.2.10.0070.00316.63
7.2.00.0000.01416.61
7.1.250.0120.00815.75
7.1.200.0130.00315.63
7.1.70.0070.00316.89
7.1.60.0070.01719.70
7.1.50.0070.01016.79
7.1.00.0000.08022.31
7.0.200.0000.00816.34
7.0.140.0130.06322.21
7.0.60.0130.07020.04
7.0.50.0070.05017.88
7.0.40.0000.04720.24
7.0.30.0300.04020.21
7.0.20.0300.07720.07
7.0.10.0200.06020.06
7.0.00.0000.05020.23
5.6.280.0070.07021.02
5.6.210.0070.07020.78
5.6.200.0100.08018.14
5.6.190.0030.04720.48
5.6.180.0300.05020.46
5.6.170.0330.07020.57
5.6.160.0000.05020.55
5.6.150.0070.05718.25
5.6.140.0130.07718.16
5.6.130.0100.08318.21
5.6.120.0100.08321.00
5.6.110.0070.04720.97
5.6.100.0030.04020.98
5.6.90.0000.04720.95
5.6.80.0100.05720.35
5.6.70.0270.05320.48
5.5.350.0200.07720.44
5.5.340.0130.07718.08
5.5.330.0100.04020.13
5.5.320.0230.08020.43
5.5.310.0230.07720.51
5.5.300.0100.08717.97
5.5.290.0070.08018.02
5.5.280.0000.09320.80
5.5.270.0130.08020.84
5.5.260.0100.08020.96
5.5.250.0100.05720.58
5.5.240.0070.03720.26
5.4.450.0770.06319.16
5.4.440.0370.05019.62
5.4.430.0130.05319.16
5.4.420.0670.00019.51
5.4.410.0070.05718.81
5.4.400.0200.05318.66
5.4.390.0130.05718.51
5.4.380.0230.04318.80
5.4.370.0130.05018.73
5.4.360.0070.05318.55
5.4.350.0100.03912.02
5.4.340.0060.03612.01
5.4.320.0040.04712.50
5.4.310.0060.03712.49
5.4.300.0050.03912.50
5.4.290.0060.03812.50
5.4.280.0100.03012.39
5.4.270.0050.03712.39
5.4.260.0090.03412.39
5.4.250.0050.03912.39
5.4.240.0050.03712.39
5.4.230.0080.03612.39
5.4.220.0070.03412.39
5.4.210.0080.03312.39
5.4.200.0070.03612.39
5.4.190.0080.03412.38
5.4.180.0080.03412.38
5.4.170.0060.03512.39
5.4.160.0080.03312.39
5.4.150.0040.03712.38
5.4.140.0050.03812.07
5.4.130.0020.03912.05
5.4.120.0050.03612.02
5.4.110.0050.03612.01
5.4.100.0040.03712.01
5.4.90.0060.03612.01
5.4.80.0040.03812.01
5.4.70.0050.03412.01
5.4.60.0030.03712.01
5.4.50.0080.03212.01
5.4.40.0070.03412.00
5.4.30.0090.03212.00
5.4.20.0040.03712.00
5.4.10.0050.03412.00
5.4.00.0040.03811.48
5.3.290.0040.04612.80
5.3.280.0090.03512.71
5.3.270.0080.03712.73
5.3.260.0070.03812.72
5.3.250.0070.03612.71
5.3.240.0010.04112.72
5.3.230.0070.03612.71
5.3.220.0050.03712.68
5.3.210.0070.03712.68
5.3.200.0030.03912.68
5.3.190.0060.03712.68
5.3.180.0100.03312.67
5.3.170.0110.03512.67
5.3.160.0060.03612.67
5.3.150.0080.03512.67
5.3.140.0070.03512.66
5.3.130.0050.03912.66
5.3.120.0040.04312.65
5.3.110.0060.03812.66
5.3.100.0040.03812.12
5.3.90.0060.03512.10
5.3.80.0090.03412.09
5.3.70.0070.03512.09
5.3.60.0120.03012.07
5.3.50.0060.03612.02
5.3.40.0050.03812.02
5.3.30.0050.03811.98
5.3.20.0070.03611.76
5.3.10.0050.03411.72
5.3.00.0080.03311.71
5.2.170.0040.0329.22
5.2.160.0070.0269.22
5.2.150.0080.0279.22
5.2.140.0060.0299.21
5.2.130.0060.0279.18
5.2.120.0070.0269.18
5.2.110.0060.0289.18
5.2.100.0060.0279.18
5.2.90.0040.0299.18
5.2.80.0110.0259.17
5.2.70.0020.0339.17
5.2.60.0050.0309.13
5.2.50.0030.0319.09
5.2.40.0070.0269.07
5.2.30.0070.0279.05
5.2.20.0060.0279.04
5.2.10.0020.0308.94
5.2.00.0060.0278.81
5.1.60.0040.0248.08
5.1.50.0060.0238.08
5.1.40.0040.0248.07
5.1.30.0020.0288.41
5.1.20.0000.0318.44
5.1.10.0030.0278.16
5.1.00.0040.0268.16
5.0.50.0040.0206.64
5.0.40.0050.0176.49
5.0.30.0020.0326.32
5.0.20.0010.0226.28
5.0.10.0030.0206.25
5.0.00.0030.0316.25
4.4.90.0010.0174.78
4.4.80.0030.0144.75
4.4.70.0020.0164.76
4.4.60.0040.0144.76
4.4.50.0010.0174.77
4.4.40.0020.0264.71
4.4.30.0030.0154.76
4.4.20.0020.0164.85
4.4.10.0020.0164.85
4.4.00.0030.0254.76
4.3.110.0030.0154.67
4.3.100.0030.0144.66
4.3.90.0040.0124.63
4.3.80.0040.0234.59
4.3.70.0030.0144.63
4.3.60.0030.0154.63
4.3.50.0020.0174.63
4.3.40.0020.0254.54
4.3.30.0040.0143.30
4.3.20.0020.0163.28
4.3.10.0040.0133.24
4.3.00.0130.0236.71

preferences:
48.1 ms | 401 KiB | 5 Q