3v4l.org

run code in 300+ PHP versions simultaneously
<?php class users { public $username, $status; public function __wakeup() { $func_status = $this -> status; $func_status(); } }; $s = unserialize( stripslashes( 'O:5:"users":2:{s:6:"status";s:9:"phpinfo()";s:8:"username";s:4:"aaaa";}' ) ); echo $s->username;

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.0120.00618.84
8.3.30.0130.00719.01
8.3.20.0130.00620.20
8.3.10.0060.00321.73
8.3.00.0110.00617.93
8.2.170.0120.00322.96
8.2.160.0170.00320.44
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00026.16
8.2.120.0060.00320.88
8.2.110.0030.00721.93
8.2.100.0070.00717.72
8.2.90.0040.00419.13
8.2.80.0050.00317.97
8.2.70.0090.00017.63
8.2.60.0080.00017.68
8.2.50.0000.00818.07
8.2.40.0060.00319.81
8.2.30.0000.01018.11
8.2.20.0040.00417.75
8.2.10.0090.00018.06
8.2.00.0040.00417.71
8.1.270.0040.00823.82
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0100.00023.86
8.1.230.0030.00718.97
8.1.220.0090.00017.74
8.1.210.0030.00618.77
8.1.200.0060.00617.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00818.44
8.1.160.0000.00721.96
8.1.150.0040.00418.86
8.1.140.0050.00217.30
8.1.130.0050.00217.84
8.1.120.0030.00517.45
8.1.110.0060.00317.39
8.1.100.0000.00717.29
8.1.90.0000.00717.30
8.1.80.0000.00717.27
8.1.70.0070.00017.29
8.1.60.0000.00717.61
8.1.50.0040.00417.57
8.1.40.0000.00717.55
8.1.30.0000.00817.64
8.1.20.0030.00617.66
8.1.10.0040.00417.51
8.1.00.0000.00817.44
8.0.300.0050.00318.80
8.0.290.0040.00416.75
8.0.280.0030.00318.46
8.0.270.0000.00717.20
8.0.260.0030.00317.13
8.0.250.0000.00716.93
8.0.240.0050.00316.96
8.0.230.0030.00316.99
8.0.220.0070.00016.90
8.0.210.0050.00216.92
8.0.200.0030.00316.92
8.0.190.0000.00816.96
8.0.180.0070.00016.96
8.0.170.0000.00916.80
8.0.160.0000.00716.84
8.0.150.0040.00416.77
8.0.140.0040.00416.87
8.0.130.0000.00613.31
8.0.120.0050.00316.75
8.0.110.0000.00716.81
8.0.100.0000.00716.90
8.0.90.0040.00416.78
8.0.80.0090.00616.92
8.0.70.0040.00416.84
8.0.60.0040.00416.72
8.0.50.0000.00817.00
8.0.30.0100.00817.27
8.0.20.0110.00817.40
8.0.10.0040.00416.97
8.0.00.0090.00816.58
7.4.330.0030.00315.01
7.4.320.0000.00716.60
7.4.300.0030.00316.59
7.4.290.0040.00416.50
7.4.280.0000.00816.51
7.4.270.0040.00416.64
7.4.260.0000.00716.49
7.4.250.0030.00316.47
7.4.240.0050.00216.62
7.4.230.0000.00816.58
7.4.220.0090.01216.47
7.4.210.0140.00016.56
7.4.200.0090.00016.32
7.4.160.0120.00316.44
7.4.150.0110.00717.40
7.4.140.0120.00517.86
7.4.130.0080.00816.55
7.4.120.0080.01016.55
7.4.110.0090.00916.39
7.4.100.0100.00716.52
7.4.90.0050.01216.43
7.4.80.0060.01619.39
7.4.70.0080.01116.45
7.4.60.0100.00916.65
7.4.50.0000.00516.15
7.4.40.0130.00316.36
7.4.30.0060.00916.61
7.4.00.0030.00715.03
7.3.330.0000.00513.38
7.3.320.0000.00513.36
7.3.310.0060.00016.39
7.3.300.0030.00316.38
7.3.290.0030.01716.30
7.3.280.0090.00716.35
7.3.270.0130.01017.40
7.3.260.0120.00616.39
7.3.250.0120.00716.47
7.3.240.0110.01116.29
7.3.230.0040.01216.39
7.3.210.0130.00416.32
7.3.200.0030.01419.39
7.3.190.0080.01216.54
7.3.180.0130.00316.41
7.3.170.0100.01016.48
7.3.160.0140.00816.39
7.3.120.0130.00314.88
7.3.10.0050.00516.54
7.3.00.0060.00716.68
7.2.330.0050.01516.62
7.2.320.0120.00616.32
7.2.310.0100.00716.63
7.2.300.0060.01216.30
7.2.290.0110.01116.44
7.2.130.0030.01016.88
7.2.120.0060.00616.93
7.2.110.0090.00516.74
7.2.100.0060.00516.78
7.2.90.0040.00816.74
7.2.80.0050.00716.68
7.2.70.0100.00316.75
7.2.60.0060.00816.77
7.2.50.0050.00816.64
7.2.40.0070.00616.82
7.2.30.0080.00716.80
7.2.20.0030.01116.54
7.2.10.0060.00816.88
7.2.00.0040.00917.68
7.1.250.0060.00815.53
7.1.240.0000.00815.69
7.1.230.0060.00615.54
7.1.220.0070.00715.42
7.1.210.0000.01115.32
7.1.200.0040.00415.69
7.1.190.0050.00515.57
7.1.180.0110.00315.64
7.1.170.0090.00015.65
7.1.160.0030.00915.66
7.1.150.0000.01415.55
7.1.140.0080.00415.70
7.1.130.0110.00415.82
7.1.120.0000.00915.68
7.1.110.0110.00415.69
7.1.100.0160.00516.77
7.1.90.0090.00615.82
7.1.80.0110.00015.87
7.1.70.0020.00916.42
7.1.60.0100.00917.68
7.1.50.0120.00716.31
7.1.40.0120.00015.54
7.1.30.0060.00315.59
7.1.20.0060.00615.48
7.1.10.0080.00315.65
7.1.00.0090.04019.11
7.0.330.0070.00315.44
7.0.320.0030.01015.05
7.0.310.0070.01115.25
7.0.300.0030.00715.11
7.0.290.0040.01115.28
7.0.280.0070.01015.14
7.0.270.0030.00615.31
7.0.260.0090.00615.28
7.0.250.0040.00415.44
7.0.240.0030.00914.89
7.0.230.0130.00315.32
7.0.220.0040.00415.04
7.0.210.0060.00315.00
7.0.200.0060.00315.77
7.0.190.0070.00315.10
7.0.180.0240.00015.03
7.0.170.0090.00615.34
7.0.160.0230.00015.08
7.0.150.0000.01115.22
7.0.140.0070.04018.69
7.0.130.0080.01115.46
7.0.120.0120.00915.34
7.0.110.0030.01015.20
7.0.100.0140.00715.29
7.0.90.0040.00715.15
7.0.80.0050.00515.25
7.0.70.0180.00315.44
7.0.60.0110.03017.62
7.0.50.0120.04016.57
7.0.40.0070.02516.74
7.0.30.0220.01816.74
7.0.20.0160.03116.77
7.0.10.0080.04716.76
7.0.00.0120.02316.69
5.6.380.0070.00714.19
5.6.370.0110.00314.36
5.6.360.0120.00014.25
5.6.350.0120.00414.20
5.6.340.0080.00314.51
5.6.330.0040.01214.24
5.6.320.0030.01014.11
5.6.310.0060.00914.21
5.6.300.0030.00914.46
5.6.290.0000.01014.09
5.6.280.0060.03817.61
5.6.270.0070.00413.91
5.6.260.0060.00614.36
5.6.250.0060.00614.04
5.6.240.0090.00314.25
5.6.230.0000.01114.00
5.6.220.0070.00714.11
5.6.210.0050.03217.27
5.6.200.0090.04316.08
5.6.190.0100.04017.30
5.6.180.0240.02717.34
5.6.170.0240.02017.37
5.6.160.0020.04617.23
5.6.150.0100.04016.19
5.6.140.0090.02716.25
5.6.130.0110.04116.22
5.6.120.0070.03517.61
5.6.110.0030.04917.51
5.6.100.0120.02017.72
5.6.90.0110.04017.70
5.6.80.0180.03817.10
5.6.70.0170.00714.06
5.6.60.0130.01014.10
5.6.50.0210.00014.09
5.6.40.0100.01014.20
5.6.30.0140.00413.97
5.6.20.0200.00313.91
5.6.10.0170.00313.58
5.6.00.0070.01014.06
5.5.380.0050.00211.02
5.5.370.0040.00811.19
5.5.360.0100.00310.82
5.5.350.0100.03315.76
5.5.340.0020.02614.42
5.5.330.0090.02815.54
5.5.320.0080.02615.61
5.5.310.0240.03415.59
5.5.300.0110.04014.38
5.5.290.0080.02714.46
5.5.280.0090.03615.85
5.5.270.0070.03716.07
5.5.260.0110.04215.90
5.5.250.0040.02215.79
5.5.240.0030.04015.52
5.5.230.0030.00910.82
5.5.220.0090.00010.80
5.5.210.0080.00310.58
5.5.200.0040.00810.77
5.5.190.0070.00410.55
5.5.180.0100.00310.92
5.5.170.0080.00410.72
5.5.160.0100.00710.60
5.5.150.0130.00310.80
5.5.140.0110.00410.73
5.5.130.0000.00610.98
5.5.120.0000.00610.44
5.5.110.0270.00011.16
5.5.100.0130.00010.46
5.5.90.0210.00011.08
5.5.80.0190.00810.91
5.5.70.0260.00711.03
5.5.60.0070.00510.86
5.5.50.0050.00911.04
5.5.40.0050.00610.98
5.5.30.0000.01111.11
5.5.20.0100.00311.17
5.5.10.0100.00310.82
5.5.00.0080.00510.89
5.4.450.0400.02715.26
5.4.440.0220.02815.25
5.4.430.0230.02815.28
5.4.420.0100.03515.22
5.4.410.0030.03314.97
5.4.400.0180.02614.84
5.4.390.0150.02914.67
5.4.380.0130.02714.89
5.4.370.0020.03114.78
5.4.360.0070.02814.63
5.4.350.0050.02011.32
5.4.340.0090.02311.32
5.4.330.0060.00610.52
5.4.320.0070.02311.60
5.4.310.0060.02111.49
5.4.300.0050.02311.52
5.4.290.0080.01911.75
5.4.280.0060.02111.63
5.4.270.0080.02111.57
5.4.260.0050.02111.67
5.4.250.0080.02111.66
5.4.240.0090.02211.54
5.4.230.0090.02111.64
5.4.220.0020.02311.70
5.4.210.0080.02011.46
5.4.200.0030.02811.69
5.4.190.0020.02211.65
5.4.180.0050.02211.63
5.4.170.0050.02011.60
5.4.160.0070.02211.52
5.4.150.0060.02211.62
5.4.140.0030.02411.47
5.4.130.0070.02311.42
5.4.120.0050.01911.49
5.4.110.0060.02111.19
5.4.100.0110.01811.31
5.4.90.0080.02211.29
5.4.80.0050.02211.50
5.4.70.0100.01811.52
5.4.60.0080.01811.38
5.4.50.0090.01911.35
5.4.40.0070.02011.35
5.4.30.0050.01911.13
5.4.20.0070.02211.19
5.4.10.0100.01811.38
5.4.00.0050.01911.03
5.3.290.0070.02711.60
5.3.280.0070.02211.51
5.3.270.0060.02211.49
5.3.260.0020.02411.62
5.3.250.0060.02011.63
5.3.240.0030.02211.46
5.3.230.0030.02211.42
5.3.220.0050.02011.43
5.3.210.0080.02211.50
5.3.200.0070.01911.60
5.3.190.0080.01911.60
5.3.180.0090.01811.71
5.3.170.0080.02111.58
5.3.160.0040.02211.67
5.3.150.0050.02011.67
5.3.140.0070.02111.65
5.3.130.0060.02111.65
5.3.120.0050.02111.65
5.3.110.0030.02511.65
5.3.100.0060.02011.35
5.3.90.0030.02111.29
5.3.80.0040.02011.28
5.3.70.0050.02211.24
5.3.60.0080.01811.33
5.3.50.0040.02111.27
5.3.40.0020.02211.17
5.3.30.0060.01711.14
5.3.20.0030.02011.13
5.3.10.0090.01610.89
5.3.00.0160.01610.98
5.2.170.0020.0189.31
5.2.160.0030.0189.34
5.2.150.0050.0169.29
5.2.140.0080.0149.38
5.2.130.0040.0159.35
5.2.120.0030.0179.35
5.2.110.0070.0209.31
5.2.100.0140.0189.33
5.2.90.0140.0189.33
5.2.80.0070.0199.31
5.2.70.0070.0199.32
5.2.60.0080.0149.07
5.2.50.0060.0169.31
5.2.40.0040.0179.13
5.2.30.0080.0159.24
5.2.20.0060.0169.18
5.2.10.0120.0179.10
5.2.00.0110.0149.04
5.1.60.0100.0138.24
5.1.50.0060.0158.30
5.1.40.0050.0158.30
5.1.30.0040.0208.51
5.1.20.0040.0198.52
5.1.10.0050.0198.39
5.1.00.0050.0158.26
5.0.50.0120.0097.49
5.0.40.0020.0137.42
5.0.30.0030.0197.33
5.0.20.0050.0097.30
5.0.10.0040.0107.29
5.0.00.0080.0187.29
4.4.90.0040.0096.55
4.4.80.0040.0106.54
4.4.70.0030.0166.54
4.4.60.0050.0086.54
4.4.50.0060.0116.55
4.4.40.0020.0156.52
4.4.30.0040.0106.54
4.4.20.0040.0126.59
4.4.10.0050.0106.59
4.4.00.0010.0166.54
4.3.110.0040.0076.50
4.3.100.0040.0076.50
4.3.90.0020.0096.48
4.3.80.0030.0156.46
4.3.70.0030.0136.48
4.3.60.0050.0096.47
4.3.50.0020.0126.48
4.3.40.0020.0146.43
4.3.30.0020.0125.81
4.3.20.0040.0095.80
4.3.10.0050.0125.78
4.3.00.0050.0147.72

preferences:
39.69 ms | 400 KiB | 5 Q