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:45:";}}test|O:4:"Test":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.0140.00716.88
8.3.50.0100.01321.15
8.3.40.0130.01018.78
8.3.30.0140.00018.72
8.3.20.0110.00420.26
8.3.10.0000.00823.58
8.3.00.0050.00323.48
8.2.180.0070.01018.54
8.2.170.0180.00722.96
8.2.160.0030.01320.39
8.2.150.0030.00624.18
8.2.140.0030.00624.66
8.2.130.0040.00419.76
8.2.120.0040.00426.35
8.2.110.0060.00322.12
8.2.100.0080.00417.80
8.2.90.0030.00619.05
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0040.00417.91
8.2.50.0030.00518.07
8.2.40.0030.00720.55
8.2.30.0040.00419.43
8.2.20.0050.00217.65
8.2.10.0070.00018.06
8.2.00.0080.00018.08
8.1.280.0140.00425.92
8.1.270.0090.00020.34
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0080.00420.52
8.1.230.0110.00019.14
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.25
8.1.190.0050.00317.00
8.1.180.0030.00518.10
8.1.170.0080.00018.71
8.1.160.0030.00520.73
8.1.150.0000.00818.91
8.1.140.0000.00819.45
8.1.130.0070.00017.66
8.1.120.0000.00717.45
8.1.110.0040.00417.46
8.1.100.0000.00717.41
8.1.90.0040.00417.38
8.1.80.0040.00417.45
8.1.70.0000.00817.45
8.1.60.0050.00317.43
8.1.50.0030.00617.39
8.1.40.0000.00717.48
8.1.30.0000.00817.60
8.1.20.0040.00417.63
8.1.10.0040.00417.42
8.1.00.0040.00417.36
8.0.300.0000.00818.77
8.0.290.0030.00516.63
8.0.280.0030.00318.41
8.0.270.0030.00517.22
8.0.260.0030.00317.19
8.0.250.0040.00416.96
8.0.240.0000.00716.95
8.0.230.0030.00317.04
8.0.220.0030.00316.84
8.0.210.0030.00316.98
8.0.200.0060.00016.86
8.0.190.0120.00016.98
8.0.180.0070.00016.97
8.0.170.0000.00816.89
8.0.160.0030.00616.98
8.0.150.0000.00816.83
8.0.140.0030.00516.75
8.0.130.0030.00313.35
8.0.120.0080.00016.87
8.0.110.0020.00516.88
8.0.100.0080.00016.86
8.0.90.0030.00316.81
8.0.80.0070.00716.88
8.0.70.0000.00716.91
8.0.60.0070.00016.96
8.0.50.0040.00416.98
8.0.30.0060.01117.16
8.0.20.0100.01017.40
8.0.10.0000.00716.91
8.0.00.0120.00916.71
7.4.330.0020.00216.69
7.4.320.0000.00616.48
7.4.300.0040.00416.47
7.4.290.0020.00516.59
7.4.280.0000.00816.54
7.4.270.0070.00016.61
7.4.260.0030.00316.54
7.4.250.0040.00416.53
7.4.240.0040.00316.50
7.4.230.0000.00716.49
7.4.220.0100.01716.62
7.4.210.0040.01116.61
7.4.200.0040.00416.57
7.4.160.0120.00616.36
7.4.150.0060.01017.40
7.4.140.0080.01017.86
7.4.130.0110.00816.49
7.4.120.0070.01016.50
7.4.110.0070.01816.52
7.4.100.0120.01216.58
7.4.90.0060.01216.76
7.4.80.0150.00919.39
7.4.70.0060.00916.48
7.4.60.0000.01616.31
7.4.50.0110.00716.50
7.4.40.0100.00716.39
7.4.30.0100.01016.53
7.4.00.0100.00715.04
7.3.330.0000.00613.36
7.3.320.0000.00613.11
7.3.310.0020.00516.16
7.3.300.0030.00316.15
7.3.290.0110.00516.22
7.3.280.0130.00816.29
7.3.270.0150.00317.40
7.3.260.0100.00716.39
7.3.250.0120.00916.37
7.3.240.0140.00616.32
7.3.230.0060.01116.39
7.3.210.0060.01316.43
7.3.200.0030.01619.39
7.3.190.0100.01016.29
7.3.180.0070.00816.27
7.3.170.0100.00716.41
7.3.160.0080.00816.30
7.3.120.0070.01214.85
7.3.110.0050.01214.86
7.3.100.0070.00414.89
7.3.90.0060.00614.76
7.3.80.0080.00414.86
7.3.70.0040.01214.79
7.3.60.0030.00914.76
7.3.50.0040.00914.83
7.3.40.0080.00414.70
7.3.30.0070.00814.77
7.3.20.0070.01016.49
7.3.10.0060.00916.67
7.3.00.0080.00516.64
7.2.330.0150.02416.64
7.2.320.0130.01016.63
7.2.310.0060.00916.38
7.2.300.0070.01016.51
7.2.290.0110.00816.40
7.2.250.0080.00814.91
7.2.240.0080.01015.02
7.2.230.0070.00714.86
7.2.220.0070.00914.87
7.2.210.0090.00514.95
7.2.200.0030.01214.84
7.2.190.0040.01214.86
7.2.180.0100.00314.82
7.2.170.0070.00614.79
7.2.60.0080.00616.51
7.2.50.0070.00416.70
7.1.330.0100.00315.55
7.1.320.0070.00615.61
7.1.310.0060.00815.64
7.1.300.0040.01015.56
7.1.290.0100.00315.68
7.1.280.0090.00615.62
7.1.270.0080.00815.69
7.1.260.0020.01215.62
7.1.200.0070.00715.56
7.1.70.0050.00317.14
7.1.60.0110.01119.27
7.1.50.0150.00716.83
7.1.00.0030.07722.40
7.0.200.0050.00516.65
7.0.100.0030.04319.88
7.0.90.0030.06719.88
7.0.80.0100.04719.87
7.0.70.0400.07320.09
7.0.60.0330.08320.01
7.0.50.0300.08020.35
7.0.40.0100.08020.09
7.0.30.0130.08020.02
7.0.20.0070.08320.14
7.0.10.0030.08720.03
7.0.00.0130.07719.96
5.6.280.0030.05321.07
5.6.250.0070.04020.77
5.6.240.0070.07320.64
5.6.230.0070.09320.51
5.6.220.0130.07720.63
5.6.210.0030.08720.70
5.6.200.0000.08321.13
5.6.190.0170.07720.90
5.6.180.0100.08020.95
5.6.170.0100.08021.03
5.6.160.0000.05321.01
5.6.150.0100.08021.04
5.6.140.0070.07321.00
5.6.130.0170.06720.90
5.6.120.0100.08321.01
5.6.110.0070.08720.99
5.6.100.0100.08020.87
5.6.90.0030.08720.99
5.6.80.0100.07020.50
5.6.70.0200.06720.34
5.6.60.0170.06720.38
5.6.50.0130.07720.39
5.6.40.0000.08020.30
5.6.30.0130.07020.33
5.6.20.0030.07720.32
5.6.10.0100.07720.35
5.6.00.0170.07320.34
5.5.380.0030.08720.41
5.5.370.0130.07320.37
5.5.360.0130.06720.29
5.5.350.0230.06320.30
5.5.340.0130.07720.71
5.5.330.0030.08720.81
5.5.320.0100.08020.81
5.5.310.0070.08720.71
5.5.300.0100.07720.82
5.5.290.0200.06320.70
5.5.280.0070.05720.77
5.5.270.0170.07020.71
5.5.260.0170.08020.80
5.5.250.0030.08020.66
5.5.240.0070.07720.22
5.5.230.0100.08020.22
5.5.220.0170.06019.96
5.5.210.0170.07320.22
5.5.200.0100.07020.21
5.5.190.0130.07320.13
5.5.180.0130.07020.13
5.5.160.0070.08020.09
5.5.150.0100.08020.20
5.5.140.0030.07720.06
5.5.130.0100.07720.11
5.5.120.0100.07720.18
5.5.110.0100.04720.17
5.5.100.0100.07020.00
5.5.90.0070.07320.12
5.5.80.0130.07020.11
5.5.70.0030.07019.89
5.5.60.0170.06020.05
5.5.50.0030.08020.01
5.5.40.0030.08020.01
5.5.30.0100.07319.88
5.5.20.0030.07320.11
5.5.10.0070.05720.07
5.5.00.0100.07019.98

preferences:
39.8 ms | 401 KiB | 5 Q