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:{}fooo|a:1:{i:0;a:1:{i:0;s:5:"12345";}}'); 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.0090.01216.75
8.3.50.0120.00621.13
8.3.40.0120.00918.67
8.3.30.0110.00418.67
8.3.20.0040.00420.39
8.3.10.0060.00323.45
8.3.00.0050.00323.61
8.2.180.0090.00618.54
8.2.170.0140.00022.96
8.2.160.0100.00720.21
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0050.00319.70
8.2.120.0000.00826.35
8.2.110.0030.00720.95
8.2.100.0060.00617.84
8.2.90.0000.00917.78
8.2.80.0030.00518.02
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0050.00318.07
8.2.40.0070.00420.50
8.2.30.0000.00719.50
8.2.20.0050.00317.70
8.2.10.0000.00817.96
8.2.00.0000.00817.89
8.1.280.0130.00725.92
8.1.270.0060.00320.38
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00320.58
8.1.230.0060.00620.96
8.1.220.0060.00317.74
8.1.210.0040.00418.90
8.1.200.0000.00917.10
8.1.190.0060.00316.98
8.1.180.0000.00718.10
8.1.170.0080.00018.55
8.1.160.0000.00820.59
8.1.150.0000.00718.77
8.1.140.0040.00419.60
8.1.130.0030.00317.54
8.1.120.0000.00817.42
8.1.110.0000.00717.42
8.1.100.0040.00417.40
8.1.90.0050.00217.31
8.1.80.0080.00017.41
8.1.70.0050.00217.46
8.1.60.0050.00317.51
8.1.50.0000.00817.38
8.1.40.0040.00417.49
8.1.30.0080.00017.64
8.1.20.0000.00717.59
8.1.10.0070.00017.45
8.1.00.0000.00817.38
8.0.300.0070.00019.98
8.0.290.0040.00416.63
8.0.280.0000.00818.40
8.0.270.0030.00317.17
8.0.260.0030.00317.17
8.0.250.0040.00416.99
8.0.240.0040.00417.00
8.0.230.0050.00217.01
8.0.220.0070.00016.80
8.0.210.0070.00016.87
8.0.200.0000.00716.84
8.0.190.0060.00317.02
8.0.180.0000.00716.84
8.0.170.0000.00716.92
8.0.160.0000.00816.93
8.0.150.0070.00016.77
8.0.140.0060.00316.93
8.0.130.0070.00013.33
8.0.120.0000.00916.78
8.0.110.0040.00416.89
8.0.100.0000.00716.99
8.0.90.0050.00216.88
8.0.80.0040.01116.89
8.0.70.0070.00016.79
8.0.60.0050.00316.96
8.0.50.0030.00616.75
8.0.30.0110.01017.04
8.0.20.0130.01017.40
8.0.10.0050.00217.09
8.0.00.0100.00916.90
7.4.330.0020.00216.77
7.4.320.0030.00316.55
7.4.300.0060.00016.45
7.4.290.0030.00316.35
7.4.280.0030.00616.57
7.4.270.0030.00316.48
7.4.260.0030.00316.59
7.4.250.0040.00416.51
7.4.240.0000.00716.47
7.4.230.0000.00716.46
7.4.220.0110.00716.43
7.4.210.0030.01016.50
7.4.200.0070.00016.45
7.4.160.0080.00816.33
7.4.150.0130.01017.40
7.4.140.0130.00417.86
7.4.130.0120.00516.51
7.4.120.0150.00516.54
7.4.110.0060.01916.54
7.4.100.0060.01216.70
7.4.90.0030.01416.42
7.4.80.0100.00719.39
7.4.70.0150.00616.42
7.4.60.0180.00016.39
7.4.50.0030.00916.68
7.4.40.0070.01316.52
7.4.30.0140.00816.57
7.4.10.0140.00415.12
7.4.00.0050.01315.04
7.3.330.0000.00513.20
7.3.320.0000.00513.07
7.3.310.0050.00216.21
7.3.300.0070.00016.22
7.3.290.0110.00616.25
7.3.280.0120.00516.23
7.3.270.0140.00617.40
7.3.260.0100.00716.28
7.3.250.0100.00916.48
7.3.240.0160.00416.46
7.3.230.0030.01316.50
7.3.210.0060.00916.54
7.3.200.0030.01719.39
7.3.190.0090.00616.35
7.3.180.0100.00616.59
7.3.170.0030.01416.31
7.3.160.0040.01116.40
7.3.130.0080.00814.53
7.3.120.0070.01014.64
7.3.110.0030.01614.91
7.3.100.0040.00414.89
7.3.90.0030.00814.80
7.3.80.0040.00814.84
7.3.70.0060.00314.58
7.3.60.0070.00714.86
7.3.50.0060.00914.86
7.3.40.0040.00814.54
7.3.30.0100.00314.57
7.3.20.0110.00416.64
7.3.10.0070.00416.55
7.3.00.0100.00316.61
7.2.330.0090.00916.53
7.2.320.0070.01316.63
7.2.310.0090.00916.58
7.2.300.0060.01216.44
7.2.290.0120.00616.39
7.2.260.0090.00915.11
7.2.250.0070.01014.76
7.2.240.0080.00814.82
7.2.230.0040.01214.92
7.2.220.0130.00314.79
7.2.210.0090.00014.89
7.2.200.0000.01014.96
7.2.190.0070.00314.55
7.2.180.0090.00314.70
7.2.170.0060.00615.04
7.2.160.0060.00914.92
7.2.150.0060.00916.64
7.2.140.0000.01216.75
7.2.130.0030.00916.68
7.2.120.0070.00716.42
7.2.110.0070.01116.71
7.2.100.0130.00316.70
7.2.90.0090.00616.67
7.2.80.0100.00716.52
7.2.70.0130.00316.84
7.2.60.0050.00716.85
7.2.50.0110.00316.61
7.2.40.0030.01216.71
7.2.30.0030.01316.61
7.2.20.0030.01116.54
7.2.10.0000.01316.82
7.2.00.0090.00517.96
7.1.330.0040.01115.81
7.1.320.0070.00715.73
7.1.310.0000.01215.75
7.1.300.0000.01015.77
7.1.290.0000.01515.42
7.1.280.0070.00715.35
7.1.270.0030.01015.41
7.1.260.0000.01215.52
7.1.250.0030.01015.83
7.1.240.0040.00815.66
7.1.230.0070.01015.73
7.1.220.0030.01015.60
7.1.210.0030.01015.46
7.1.200.0060.00615.59
7.1.190.0030.01015.76
7.1.180.0060.00315.63
7.1.170.0100.00715.77
7.1.160.0000.01415.75
7.1.150.0040.00715.52
7.1.140.0040.01115.68
7.1.130.0100.00315.49
7.1.120.0090.00615.61
7.1.110.0030.00515.66
7.1.100.0060.00616.82
7.1.90.0070.00715.64
7.1.80.0090.00015.75
7.1.70.0040.00716.31
7.1.60.0080.00917.46
7.1.50.0050.00916.25
7.1.40.0060.01215.55
7.1.30.0000.01015.74
7.1.20.0050.00515.56
7.1.10.0040.01415.68
7.1.00.0060.04018.92
7.0.330.0090.00614.96
7.0.320.0030.00915.18
7.0.310.0000.01515.08
7.0.300.0090.00015.38
7.0.290.0050.00515.10
7.0.280.0000.00915.27
7.0.270.0080.00415.23
7.0.260.0030.01215.35
7.0.250.0000.01015.17
7.0.240.0080.00415.41
7.0.230.0000.01115.54
7.0.220.0070.00315.23
7.0.210.0080.00415.36
7.0.200.0000.01115.76
7.0.190.0110.00315.36
7.0.180.0080.00015.25
7.0.170.0070.00715.12
7.0.160.0030.01315.43
7.0.150.0030.01415.35
7.0.140.0070.01015.38
7.0.130.0050.00515.36
7.0.120.0000.01415.16
7.0.110.0040.00715.39
7.0.100.0080.00415.28
7.0.90.0050.00315.43
7.0.80.0000.01115.31
7.0.70.0080.00315.31
7.0.60.0670.04917.52
7.0.50.0030.04016.68
7.0.40.0110.04516.71
7.0.30.0190.02616.77
7.0.20.0250.03916.76
7.0.10.0050.02516.71
7.0.00.0070.02816.81
5.6.400.0030.01014.34
5.6.390.0090.00614.14
5.6.380.0100.00314.17
5.6.370.0030.01313.96
5.6.360.0090.00614.08
5.6.350.0040.00714.13
5.6.340.0030.01014.23
5.6.330.0170.00014.08
5.6.320.0070.00714.40
5.6.310.0030.00614.59
5.6.300.0000.01114.23
5.6.290.0040.00814.09
5.6.280.0080.03317.45
5.6.270.0030.01014.23
5.6.260.0070.00714.30
5.6.250.0110.00314.14
5.6.240.0030.01514.09
5.6.230.0000.01414.14
5.6.220.0040.01114.23
5.6.210.0630.03517.33
5.6.200.0060.04416.13
5.6.190.0100.04217.54
5.6.180.0320.02517.44
5.6.170.0160.02717.53
5.6.160.0050.02517.40
5.6.150.0050.04816.27
5.6.140.0080.02816.18
5.6.130.0100.04616.27
5.6.120.0050.04917.62
5.6.110.0080.04117.58
5.6.100.0070.04417.65
5.6.90.0100.04017.50
5.6.80.0090.03617.32
5.6.70.0000.00914.01
5.6.60.0040.00914.32
5.6.50.0040.00714.00
5.6.40.0060.00314.30
5.6.30.0030.00814.02
5.6.20.0090.00914.05
5.6.10.0070.01014.16
5.6.00.0110.00414.07
5.5.380.0040.01214.17
5.5.370.0040.00814.11
5.5.360.0070.01114.46
5.5.350.0050.04817.21
5.5.340.0020.04115.96
5.5.330.0060.04117.29
5.5.320.0280.04217.18
5.5.310.0220.02317.30
5.5.300.0030.02516.12
5.5.290.0080.03216.02
5.5.280.0070.02317.56
5.5.270.0100.04217.39
5.5.260.0050.03017.51
5.5.250.0060.04517.43
5.5.240.0080.04517.13
5.5.230.0000.01214.23
5.5.220.0080.00314.27
5.5.210.0090.00314.25
5.5.200.0060.00614.07
5.5.190.0040.00413.77
5.5.180.0080.01114.13
5.5.170.0060.00913.82
5.5.160.0070.01014.08
5.5.150.0140.00314.04
5.5.140.0100.00313.95
5.5.130.0000.01414.02
5.5.120.0090.00913.78
5.5.110.0030.00714.23
5.5.100.0080.00813.96
5.5.90.0030.01014.06
5.5.80.0070.01014.23
5.5.70.0070.00414.21
5.5.60.0110.00314.33
5.5.50.0030.01413.89
5.5.40.0040.01113.86
5.5.30.0060.00314.17
5.5.20.0030.01213.97
5.5.10.0000.00914.23
5.5.00.0040.00714.09

preferences:
45.61 ms | 401 KiB | 5 Q