3v4l.org

run code in 300+ PHP versions simultaneously
<?php class User { public $username; public function __construct($username) { $this->username = $username; } public function __call($method, $args) { echo 'De method User::'.$method.' is niet gedeclareerd'; } } $jan = new User('jan'); $jan->setEmail('jan@email-example.nl'); ?>

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.0100.01018.75
8.3.30.0120.00319.22
8.3.20.0000.00720.33
8.3.10.0030.00523.66
8.3.00.0000.01017.46
8.2.170.0100.01022.96
8.2.160.0090.00618.70
8.2.150.0070.00024.18
8.2.140.0110.00724.66
8.2.130.0080.00026.16
8.2.120.0080.00022.31
8.2.110.0100.00021.03
8.2.100.0060.00617.78
8.2.90.0050.00319.13
8.2.80.0060.00317.97
8.2.70.0030.00517.63
8.2.60.0000.00818.04
8.2.50.0040.00418.07
8.2.40.0050.00320.00
8.2.30.0000.00818.02
8.2.20.0080.00017.71
8.2.10.0000.00718.06
8.2.00.0000.01117.68
8.1.270.0030.00622.20
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00321.31
8.1.230.0090.00317.44
8.1.220.0030.00717.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0050.00318.84
8.1.160.0000.00722.08
8.1.150.0040.00418.64
8.1.140.0040.00417.50
8.1.130.0000.00817.88
8.1.120.0000.00817.36
8.1.110.0040.00417.42
8.1.100.0040.00417.47
8.1.90.0040.00417.36
8.1.80.0000.00817.49
8.1.70.0030.00317.40
8.1.60.0000.00817.58
8.1.50.0050.00317.43
8.1.40.0000.00717.57
8.1.30.0030.00617.57
8.1.20.0050.00317.49
8.1.10.0030.00517.56
8.1.00.0050.00317.47
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.43
8.0.270.0000.00717.23
8.0.260.0060.00017.30
8.0.250.0070.00016.88
8.0.240.0030.00616.99
8.0.230.0030.00317.00
8.0.220.0000.00716.88
8.0.210.0030.00316.83
8.0.200.0040.00417.00
8.0.190.0040.00416.82
8.0.180.0030.00516.83
8.0.170.0000.00716.93
8.0.160.0050.00216.87
8.0.150.0030.00316.73
8.0.140.0000.00716.85
8.0.130.0050.00013.41
8.0.120.0000.00816.82
8.0.110.0070.00016.83
8.0.100.0000.00816.93
8.0.90.0000.00717.01
8.0.80.0090.00616.96
8.0.70.0000.00716.76
8.0.60.0040.00416.69
8.0.50.0070.00016.82
8.0.30.0090.01217.15
8.0.20.0100.01317.40
8.0.10.0000.00816.75
8.0.00.0120.00416.89
7.4.330.0060.00015.08
7.4.320.0090.00016.50
7.4.300.0060.00016.61
7.4.290.0040.00416.53
7.4.280.0070.00016.52
7.4.270.0080.00016.54
7.4.260.0030.00316.48
7.4.250.0070.00016.41
7.4.240.0030.00416.63
7.4.230.0000.00616.71
7.4.220.0060.01316.71
7.4.210.0090.00816.63
7.4.200.0040.00416.62
7.4.190.0070.00016.77
7.4.160.0100.00616.50
7.4.150.0120.00917.40
7.4.140.0080.01117.86
7.4.130.0070.01016.54
7.4.120.0050.01316.53
7.4.110.0040.01316.38
7.4.100.0070.01016.42
7.4.90.0120.00916.68
7.4.80.0090.01419.39
7.4.70.0060.01016.50
7.4.60.0060.01016.51
7.4.50.0040.00416.37
7.4.40.0030.01322.77
7.4.30.0110.00516.44
7.4.10.0030.01016.56
7.4.00.0100.00815.40
7.3.330.0000.00513.12
7.3.320.0000.00513.41
7.3.310.0040.00416.16
7.3.300.0070.00016.30
7.3.290.0140.00716.30
7.3.280.0060.01316.29
7.3.270.0030.01317.40
7.3.260.0100.00716.33
7.3.250.0070.01316.40
7.3.240.0040.01316.41
7.3.230.0060.01216.42
7.3.210.0100.00616.30
7.3.200.0060.01219.39
7.3.190.0100.00716.21
7.3.180.0070.01316.15
7.3.170.0040.01116.50
7.3.160.0110.00716.55
7.3.130.0080.00716.29
7.3.120.0070.01015.16
7.3.110.0090.00615.58
7.3.100.0030.01215.51
7.3.90.0070.00315.58
7.3.80.0110.00315.46
7.3.70.0050.00915.46
7.3.60.0050.01015.32
7.3.50.0060.00915.53
7.3.40.0080.00515.42
7.3.30.0010.01115.48
7.3.20.0060.00617.34
7.3.10.0070.00717.24
7.3.00.0060.00517.37
7.2.330.0170.00716.82
7.2.320.0030.01416.52
7.2.310.0070.01016.60
7.2.300.0100.00716.64
7.2.290.0170.00016.66
7.2.260.0120.00316.57
7.2.250.0060.01315.64
7.2.240.0080.00815.89
7.2.230.0050.01215.87
7.2.220.0070.00515.52
7.2.210.0080.00715.76
7.2.200.0030.01115.80
7.2.190.0070.00515.66
7.2.180.0030.01015.77
7.2.170.0060.00615.76
7.2.160.0030.00616.68
7.2.150.0150.00018.30
7.2.140.0120.00018.30
7.2.130.0030.00718.20
7.2.120.0090.00318.26
7.2.110.0060.01018.12
7.2.100.0070.00718.20
7.2.90.0040.01118.41
7.2.80.0080.00818.36
7.2.70.0070.01018.28
7.2.60.0000.01518.32
7.2.50.0040.01418.27
7.2.40.0100.00418.48
7.2.30.0030.01018.25
7.2.20.0120.00618.33
7.2.10.0040.00718.27
7.2.00.0070.00818.95
7.1.330.0050.00816.58
7.1.320.0020.01116.59
7.1.310.0070.00816.51
7.1.300.0080.00816.60
7.1.290.0110.00216.56
7.1.280.0050.00716.57
7.1.270.0040.00616.62
7.1.260.0020.01316.49
7.1.250.0130.00317.05
7.1.240.0030.00617.11
7.1.230.0000.01317.30
7.1.220.0060.00917.14
7.1.210.0000.01417.30
7.1.200.0030.01417.21
7.1.190.0030.01016.95
7.1.180.0040.01217.20
7.1.170.0060.00617.36
7.1.160.0000.01217.04
7.1.150.0060.00617.26
7.1.140.0060.00317.10
7.1.130.0070.00317.05
7.1.120.0090.00617.00
7.1.110.0030.00917.34
7.1.100.0070.00717.35
7.1.90.0000.01017.13
7.1.80.0040.00717.36
7.1.70.0030.00617.08
7.1.60.0020.01018.25
7.1.50.0080.01117.05
7.1.40.0060.00617.23
7.1.30.0060.00317.20
7.1.20.0110.00317.28
7.1.10.0030.00917.24
7.1.00.0080.03619.78
7.0.330.0090.00317.03
7.0.320.0060.00616.81
7.0.310.0070.01016.95
7.0.300.0070.00716.96
7.0.290.0060.00616.81
7.0.280.0040.00716.81
7.0.270.0140.00316.96
7.0.260.0120.00316.72
7.0.250.0000.00916.95
7.0.240.0070.00317.05
7.0.230.0000.01017.14
7.0.220.0030.00717.00
7.0.210.0030.00617.11
7.0.200.0350.00616.04
7.0.190.0040.01116.91
7.0.180.0090.00017.04
7.0.170.0030.00816.99
7.0.160.0030.01316.89
7.0.150.0030.00716.79
7.0.140.0070.03819.52
7.0.130.0030.00716.80
7.0.120.0060.00617.19
7.0.110.0070.00717.03
7.0.100.0030.01016.86
7.0.90.0070.00417.02
7.0.80.0100.00316.91
7.0.70.0480.04418.41
7.0.60.0450.04718.38
7.0.50.0430.03718.68
7.0.40.0080.03717.48
7.0.30.0080.04117.55
7.0.20.0090.04317.54
7.0.10.0080.03017.56
7.0.00.0090.04317.53
5.6.400.0080.00415.93
5.6.390.0060.00715.84
5.6.380.0090.00415.92
5.6.370.0030.01316.05
5.6.360.0070.00716.05
5.6.350.0070.00716.04
5.6.340.0030.00815.84
5.6.330.0060.00615.96
5.6.320.0070.00715.78
5.6.310.0070.00715.80
5.6.300.0100.00316.18
5.6.290.0060.00616.15
5.6.280.0100.03318.27
5.6.270.0040.01215.69
5.6.260.0120.00015.77
5.6.250.0000.01115.67
5.6.240.0080.00415.89
5.6.230.0030.01016.11
5.6.220.0050.03218.32
5.6.210.0050.03618.24
5.6.200.0110.03818.60
5.6.190.0070.03318.53
5.6.180.0070.04518.52
5.6.170.0110.04218.61
5.6.160.0070.03218.46
5.6.150.0120.02318.36
5.6.140.0100.04218.53
5.6.130.0110.04318.46
5.6.120.0080.04618.43
5.6.110.0050.04818.44
5.6.100.0000.03818.38
5.6.90.0020.05318.33
5.6.80.0070.04918.05
5.6.70.0060.02518.17
5.6.60.0060.03818.06
5.6.50.0110.04118.12
5.6.40.0110.02518.06
5.6.30.0050.03418.13
5.6.20.0120.04018.08
5.6.10.0090.03218.25
5.6.00.0070.04518.01
5.5.380.0070.01115.63
5.5.370.0100.00315.87
5.5.360.0080.04318.01
5.5.350.0030.05018.06
5.5.340.0120.03918.27
5.5.330.0080.04318.37
5.5.320.0070.04618.35
5.5.310.0050.04818.29
5.5.300.0060.04718.29
5.5.290.0150.04118.21
5.5.280.0070.04718.36
5.5.270.0140.02818.17
5.5.260.0090.02318.23
5.5.250.0110.04018.24
5.5.240.0050.03418.02
5.5.230.0030.03517.90
5.5.220.0090.02417.97
5.5.210.0070.04518.01
5.5.200.0110.03917.81
5.5.190.0100.03718.02
5.5.180.0130.03618.03
5.5.170.0070.00715.83
5.5.160.0130.04018.01
5.5.150.0100.03418.06
5.5.140.0100.04218.08
5.5.130.0100.04417.94
5.5.120.0090.04518.09
5.5.110.0030.04017.82
5.5.100.0090.02117.96
5.5.90.0100.04017.98
5.5.80.0050.03717.93
5.5.70.0080.03917.91
5.5.60.0030.04317.90
5.5.50.0080.03817.90
5.5.40.0090.02217.82
5.5.30.0020.03317.96
5.5.20.0030.04917.89
5.5.10.0110.03917.81
5.5.00.0050.02317.96
5.4.450.0110.03816.05
5.4.440.0100.04116.08
5.4.430.0060.02816.18
5.4.420.0080.03015.98
5.4.410.0030.04716.03
5.4.400.0140.03515.80
5.4.390.0080.04215.80
5.4.380.0080.04315.79
5.4.370.0150.03515.90
5.4.360.0080.03815.79
5.4.350.0070.03415.93
5.4.340.0030.04516.01
5.4.330.0080.00412.83
5.4.320.0090.03715.87
5.4.310.0070.03515.81
5.4.300.0080.04015.79
5.4.290.0040.04315.86
5.4.280.0090.02415.81
5.4.270.0050.03015.96
5.4.260.0020.03215.75
5.4.250.0020.04415.77
5.4.240.0060.02315.79
5.4.230.0100.03515.73
5.4.220.0100.03315.93
5.4.210.0060.03615.91
5.4.200.0050.02315.82
5.4.190.0030.03915.74
5.4.180.0070.04015.89
5.4.170.0080.01815.87
5.4.160.0030.02815.78
5.4.150.0080.02815.87
5.4.140.0030.02114.56
5.4.130.0030.02214.47
5.4.120.0050.04014.56
5.4.110.0030.02914.49
5.4.100.0070.03614.56
5.4.90.0070.04014.59
5.4.80.0050.03714.33
5.4.70.0030.03514.48
5.4.60.0050.03514.52
5.4.50.0090.03514.57
5.4.40.0020.02714.53
5.4.30.0020.03114.59
5.4.20.0100.02114.52
5.4.10.0050.04314.46
5.4.00.0050.03614.13
5.3.290.0100.03513.87
5.3.280.0070.04013.83
5.3.270.0020.02713.81
5.3.260.0020.04013.83
5.3.250.0090.04113.89
5.3.240.0060.02313.68
5.3.230.0020.02813.85
5.3.220.0040.02813.77
5.3.210.0070.04513.68
5.3.200.0060.04113.75
5.3.190.0130.02813.65
5.3.180.0130.03813.78
5.3.170.0050.04213.90
5.3.160.0030.04413.81
5.3.150.0020.04513.76
5.3.140.0000.02713.81
5.3.130.0000.04613.96
5.3.120.0070.04313.78
5.3.110.0130.03013.80
5.3.100.0060.04113.53
5.3.90.0050.02513.50
5.3.80.0050.02113.48
5.3.70.0000.03113.48
5.3.60.0030.02713.61
5.3.50.0030.02313.55
5.3.40.0000.02413.41
5.3.30.0030.03813.61
5.3.20.0020.02713.33
5.3.10.0050.02013.17
5.3.00.0020.02513.24
5.2.170.0070.02312.21
5.2.160.0100.02312.21
5.2.150.0070.02712.21
5.2.140.0070.04012.21
5.2.130.0000.03312.21
5.2.120.0070.02712.21
5.2.110.0070.03012.21
5.2.100.0070.03012.21
5.2.90.0000.03012.21
5.2.80.0070.03012.21
5.2.70.0030.03312.21
5.2.60.0070.02712.21
5.2.50.0000.03012.21
5.2.40.0030.02712.21
5.2.30.0030.03012.21
5.2.20.0070.03712.21
5.2.10.0030.03012.21
5.2.00.0030.02712.21
5.1.60.0000.02712.21
5.1.50.0000.05012.21
5.1.40.0000.04012.21
5.1.30.0070.02312.21
5.1.20.0000.03012.21
5.1.10.0000.02712.21
5.1.00.0000.02712.21
5.0.50.0030.01712.21
5.0.40.0030.02012.21
5.0.30.0030.04312.21
5.0.20.0000.02712.21
5.0.10.0030.01712.21
5.0.00.0000.03012.21
4.4.90.0000.01712.21
4.4.80.0030.01312.21
4.4.70.0000.03712.21
4.4.60.0030.01712.21
4.4.50.0070.02012.21
4.4.40.0000.02312.21
4.4.30.0000.02012.21
4.4.20.0030.01312.21
4.4.10.0030.01312.21
4.4.00.0000.02712.21
4.3.110.0000.01712.21
4.3.100.0000.01712.21
4.3.90.0000.01712.21
4.3.80.0000.02712.21
4.3.70.0000.01712.21
4.3.60.0000.01712.21
4.3.50.0030.01312.21
4.3.40.0000.02312.21
4.3.30.0030.02712.21
4.3.20.0030.01312.21
4.3.10.0070.02312.21
4.3.00.0030.01312.21

preferences:
49.22 ms | 400 KiB | 5 Q