3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { function __wakeup() { print "wakeup\n"; } } session_start(); session_decode('core|a:1:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:9:"127.0.0.1";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent";s:49:"}}}test|a:2:{i:0;O:4:"Test":0:{}i:1;a:1:{i:0;s:0:"";}}'); var_dump($_SESSION);

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.0070.01416.50
8.3.50.0140.00621.02
8.3.40.0070.00718.72
8.3.30.0110.00418.75
8.3.20.0040.00420.34
8.3.10.0030.00521.90
8.3.00.0000.00823.65
8.2.180.0120.00316.75
8.2.170.0120.00622.96
8.2.160.0130.00320.52
8.2.150.0000.00724.18
8.2.140.0090.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00421.09
8.2.110.0060.00320.49
8.2.100.0040.00817.72
8.2.90.0050.00319.13
8.2.80.0000.00917.97
8.2.70.0000.00917.63
8.2.60.0050.00317.80
8.2.50.0030.00518.07
8.2.40.0040.00422.27
8.2.30.0030.00519.38
8.2.20.0040.00417.63
8.2.10.0040.00418.02
8.2.00.0030.00517.93
8.1.280.0170.00325.92
8.1.270.0100.01020.30
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0040.00723.91
8.1.230.0000.01120.91
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0230.01317.13
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0040.00420.69
8.1.150.0020.00518.80
8.1.140.0000.00819.58
8.1.130.0000.00717.66
8.1.120.0000.00717.39
8.1.110.0000.00717.42
8.1.100.0000.00817.37
8.1.90.0000.00717.40
8.1.80.0030.00517.30
8.1.70.0040.00417.31
8.1.60.0030.00617.59
8.1.50.0050.00317.51
8.1.40.0050.00317.44
8.1.30.0050.00317.45
8.1.20.0070.00017.56
8.1.10.0000.00717.37
8.1.00.0030.00617.23
8.0.300.0000.00718.77
8.0.290.0000.00916.75
8.0.280.0040.00418.33
8.0.270.0050.00217.27
8.0.260.0000.00617.08
8.0.250.0000.00716.96
8.0.240.0040.00416.96
8.0.230.0000.00717.00
8.0.220.0080.00016.91
8.0.210.0040.00416.93
8.0.200.0060.00017.01
8.0.190.0080.00816.94
8.0.180.0000.00716.86
8.0.170.0030.00516.92
8.0.160.0030.00316.82
8.0.150.0040.00416.81
8.0.140.0040.00816.81
8.0.130.0100.00013.32
8.0.120.0060.00316.73
8.0.110.0000.00716.89
8.0.100.0000.00916.86
8.0.90.0000.00816.81
8.0.80.0060.00916.96
8.0.70.0080.00016.88
8.0.60.0000.00716.78
8.0.50.0080.00016.76
8.0.30.0090.00817.02
8.0.20.0110.00817.40
8.0.10.0040.00416.83
8.0.00.0120.00816.75
7.4.330.0050.00016.89
7.4.320.0000.00716.48
7.4.300.0030.00516.59
7.4.290.0030.00316.36
7.4.280.0040.00516.43
7.4.270.0000.00716.51
7.4.260.0040.00416.57
7.4.250.0040.00416.33
7.4.240.0020.00616.43
7.4.230.0000.00716.62
7.4.220.0150.00616.53
7.4.210.0140.00016.47
7.4.200.0040.00416.67
7.4.160.0090.00616.63
7.4.150.0120.00617.40
7.4.140.0090.01317.86
7.4.130.0130.01716.53
7.4.120.0080.00816.65
7.4.110.0060.01216.48
7.4.100.0120.00616.69
7.4.90.0030.01416.57
7.4.80.0100.00719.39
7.4.70.0040.01216.64
7.4.60.0100.00616.46
7.4.50.0080.00516.27
7.4.40.0100.01016.54
7.4.30.0080.00816.42
7.4.00.0030.01314.87
7.3.330.0000.00613.32
7.3.320.0000.00513.25
7.3.310.0070.00016.13
7.3.300.0040.00416.26
7.3.290.0090.00516.28
7.3.280.0070.01316.24
7.3.270.0070.01117.40
7.3.260.0100.00916.38
7.3.240.0150.00216.47
7.3.230.0060.01716.52
7.3.210.0110.00716.50
7.3.200.0080.01319.39
7.3.190.0060.00916.45
7.3.180.0160.00016.30
7.3.170.0130.00316.49
7.3.160.0110.00416.34
7.3.120.0100.00614.79
7.3.110.0080.00814.80
7.3.100.0030.01014.71
7.3.90.0060.00414.80
7.3.80.0070.00714.81
7.3.70.0110.00314.70
7.3.60.0110.00214.63
7.3.50.0050.01014.56
7.3.40.0070.00714.79
7.3.30.0050.00914.83
7.3.20.0030.00816.63
7.3.10.0120.00516.46
7.3.00.0070.00816.60
7.2.330.0040.01416.27
7.2.320.0130.00416.43
7.2.310.0030.01416.65
7.2.300.0110.00616.47
7.2.290.0150.00416.46
7.2.250.0120.00614.89
7.2.240.0130.00314.88
7.2.230.0000.01314.74
7.2.220.0070.00715.06
7.2.210.0050.00914.91
7.2.200.0040.00614.96
7.2.190.0070.00314.83
7.2.180.0000.01015.02
7.2.170.0060.00614.87
7.2.160.0000.00914.96
7.2.150.0040.01116.80
7.2.140.0070.00716.92
7.2.130.0100.00616.85
7.2.120.0050.01216.61
7.2.110.0070.00616.78
7.2.100.0050.01016.67
7.2.90.0060.01116.66
7.2.80.0070.00716.83
7.2.70.0070.00916.68
7.2.60.0080.00916.79
7.2.50.0060.00916.78
7.2.40.0020.01116.71
7.2.30.0040.01216.93
7.2.20.0070.00516.70
7.2.10.0050.01116.71
7.2.00.0020.01117.59
7.1.330.0080.00815.58
7.1.320.0020.00915.65
7.1.310.0080.00715.64
7.1.300.0030.01015.46
7.1.290.0070.00715.70
7.1.280.0080.00715.60
7.1.270.0050.00715.60
7.1.260.0060.00815.59
7.1.250.0080.00315.54
7.1.200.0000.01315.61
7.1.100.0000.01217.98
7.1.70.0110.00417.01
7.1.60.0100.01019.27
7.1.50.0000.01116.94
7.1.00.0100.07022.44
7.0.200.0120.00316.61
7.0.60.1330.06019.96
7.0.50.0000.04317.89
7.0.40.0070.07020.23
7.0.30.0200.04720.06
7.0.20.0370.04320.30
7.0.10.0030.06020.15
7.0.00.0000.07320.07
5.6.280.0000.07020.82
5.6.210.1100.04720.63
5.6.200.0000.05018.15
5.6.190.0130.06320.39
5.6.180.0500.07720.77
5.6.170.0200.08720.51
5.6.160.0070.08320.71
5.6.150.0130.07018.16
5.6.140.0030.08318.15
5.6.130.0070.06718.21
5.6.120.0070.04020.99
5.6.110.0100.07021.03
5.6.100.0230.05321.01
5.6.90.0130.08021.01
5.6.80.0100.07720.50
5.5.350.0070.07020.44
5.5.340.0100.07717.96
5.5.330.0230.07020.27
5.5.320.0600.07320.34
5.5.310.0270.07320.26
5.5.300.0070.04317.95
5.5.290.0070.08018.02
5.5.280.0070.05720.88
5.5.270.0070.06020.85
5.5.260.0100.08320.98
5.5.250.0000.09320.61
5.5.240.0170.07320.34

preferences:
72.57 ms | 401 KiB | 5 Q