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|a:1:{i:0;O:4:"Test":0:{};i:1;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.70.0070.01118.55
8.3.60.0090.01216.63
8.3.50.0240.01221.09
8.3.40.0180.00418.79
8.3.30.0070.00718.54
8.3.20.0090.00620.16
8.3.10.0040.00423.48
8.3.00.0000.00823.48
8.2.180.0120.00616.50
8.2.170.0060.01318.91
8.2.160.0130.00322.96
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00419.70
8.2.120.0070.00026.35
8.2.110.0050.00520.57
8.2.100.0060.00617.91
8.2.90.0000.00819.27
8.2.80.0080.00017.97
8.2.70.0050.01117.13
8.2.60.0040.00417.91
8.2.50.0040.00418.07
8.2.40.0030.00620.59
8.2.30.0040.00319.43
8.2.20.0040.00417.65
8.2.10.0040.00417.90
8.2.00.0000.01017.93
8.1.280.0130.00725.92
8.1.270.0080.00023.99
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0070.00322.06
8.1.230.0120.00017.70
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0040.00417.10
8.1.180.0000.00918.10
8.1.170.0080.00018.64
8.1.160.0000.00820.59
8.1.150.0040.00418.89
8.1.140.0080.00019.52
8.1.130.0030.00317.67
8.1.120.0000.00717.44
8.1.110.0000.00717.44
8.1.100.0040.00417.30
8.1.90.0000.00717.46
8.1.80.0000.00717.46
8.1.70.0030.00317.30
8.1.60.0090.00017.43
8.1.50.0030.00617.34
8.1.40.0030.00517.44
8.1.30.0040.00417.59
8.1.20.0060.00317.51
8.1.10.0000.00817.34
8.1.00.0000.00817.38
8.0.300.0060.00318.77
8.0.290.0000.00816.63
8.0.280.0000.00718.36
8.0.270.0030.00317.09
8.0.260.0030.00317.21
8.0.250.0030.00316.99
8.0.240.0050.00316.98
8.0.230.0030.00316.98
8.0.220.0000.00716.79
8.0.210.0100.00016.90
8.0.200.0030.00316.89
8.0.190.0040.00716.96
8.0.180.0000.00716.83
8.0.170.0030.00516.92
8.0.160.0000.00716.90
8.0.150.0040.00416.75
8.0.140.0060.00616.85
8.0.130.0050.00313.30
8.0.120.0080.00016.97
8.0.110.0070.00016.93
8.0.100.0050.00316.75
8.0.90.0040.00416.96
8.0.80.0090.00916.89
8.0.70.0000.00716.89
8.0.60.0040.00416.77
8.0.50.0050.00516.86
8.0.30.0080.01217.12
8.0.20.0100.00917.40
8.0.10.0080.00017.03
8.0.00.0120.00716.61
7.4.330.0000.00516.72
7.4.320.0030.00316.45
7.4.300.0050.00216.47
7.4.290.0030.00316.55
7.4.280.0030.00516.55
7.4.270.0000.00716.34
7.4.260.0070.00016.37
7.4.250.0000.00816.29
7.4.240.0070.00016.45
7.4.230.0030.00316.35
7.4.220.0130.00916.41
7.4.210.0040.01016.39
7.4.200.0070.00016.57
7.4.150.0080.00917.40
7.4.140.0110.01117.86
7.4.130.0060.01316.30
7.4.120.0100.00616.52
7.4.110.0090.01116.38
7.4.100.0090.00916.26
7.4.90.0190.00016.46
7.4.80.0090.00819.39
7.4.70.0070.01416.41
7.4.60.0150.00316.27
7.4.50.0070.01016.18
7.4.40.0030.01416.41
7.4.30.0070.01316.54
7.4.00.0130.00314.88
7.3.330.0060.00013.18
7.3.320.0060.00013.18
7.3.310.0000.00716.08
7.3.300.0050.00216.19
7.3.290.0070.01116.21
7.3.280.0070.00816.24
7.3.270.0100.01017.40
7.3.260.0030.01416.33
7.3.240.0140.00816.37
7.3.230.0100.00716.39
7.3.210.0080.00916.46
7.3.200.0170.00319.39
7.3.190.0120.00916.63
7.3.180.0060.00916.45
7.3.170.0070.01016.63
7.3.160.0060.01016.41
7.3.10.0100.00316.59
7.3.00.0070.00716.39
7.2.330.0100.00716.64
7.2.320.0070.01516.52
7.2.310.0090.00916.30
7.2.300.0040.01216.64
7.2.290.0000.01816.45
7.2.130.0040.00416.87
7.2.120.0120.00016.69
7.2.110.0060.00616.63
7.2.100.0090.00616.63
7.2.90.0060.00316.68
7.2.80.0080.00616.86
7.2.70.0000.00916.71
7.2.60.0080.00516.70
7.2.50.0100.00716.85
7.2.40.0060.00316.67
7.2.30.0040.01116.93
7.2.20.0080.00416.94
7.2.10.0070.00316.71
7.2.00.0110.00817.75
7.1.250.0000.00915.74
7.1.240.0000.01115.58
7.1.230.0080.00815.71
7.1.220.0030.00915.40
7.1.210.0030.01215.78
7.1.200.0030.00915.75
7.1.190.0070.00715.57
7.1.180.0090.00315.81
7.1.170.0030.00615.51
7.1.160.0000.01315.69
7.1.150.0060.00615.57
7.1.140.0070.00715.64
7.1.130.0060.00615.81
7.1.120.0040.00815.75
7.1.110.0030.00915.53
7.1.100.0050.00716.84
7.1.90.0040.00715.59
7.1.80.0040.00815.60
7.1.70.0060.00516.34
7.1.60.0100.01017.46
7.1.50.0050.00816.18
7.1.40.0030.01015.24
7.1.30.0090.00615.66
7.1.20.0040.00815.72
7.1.10.0100.00315.66
7.1.00.0020.04619.01
7.0.330.0040.00815.14
7.0.320.0100.00315.20
7.0.310.0070.00715.21
7.0.300.0110.00314.99
7.0.290.0040.00414.94
7.0.280.0050.00215.20
7.0.270.0030.00315.22
7.0.260.0000.00915.27
7.0.250.0030.01015.15
7.0.240.0080.00415.40
7.0.230.0000.01415.17
7.0.220.0110.00415.09
7.0.210.0000.01115.27
7.0.200.0070.00515.85
7.0.190.0060.00915.32
7.0.180.0070.00715.25
7.0.170.0090.00314.97
7.0.160.0000.01215.32
7.0.150.0030.00615.04
7.0.140.0040.00415.09
7.0.130.0030.01015.45
7.0.120.0040.00815.53
7.0.110.0050.00315.37
7.0.100.0040.01115.23
7.0.90.0090.00315.46
7.0.80.0090.00615.07
7.0.70.0070.00715.25
7.0.60.0630.02817.60
7.0.50.0080.02316.47
7.0.40.0060.03016.78
7.0.30.0150.04316.80
7.0.20.0180.04116.69
7.0.10.0030.02416.80
7.0.00.0050.04716.72
5.6.380.0030.00714.22
5.6.370.0100.00013.95
5.6.360.0050.01414.05
5.6.350.0030.01714.13
5.6.340.0140.00714.21
5.6.330.0170.00814.07
5.6.320.0110.00414.42
5.6.310.0070.00713.90
5.6.300.0040.01114.27
5.6.290.0030.00614.00
5.6.280.0050.02717.81
5.6.270.0100.00314.25
5.6.260.0130.00014.12
5.6.250.0040.01114.26
5.6.240.0030.01014.09
5.6.230.0130.00314.37
5.6.220.0030.00914.33
5.6.210.0580.03717.55
5.6.200.0110.04016.22
5.6.190.0120.02617.37
5.6.180.0220.02417.27
5.6.170.0200.04217.37
5.6.160.0050.02417.38
5.6.150.0100.04416.27
5.6.140.0160.04216.11
5.6.130.0150.02716.15
5.6.120.0090.02717.71
5.6.110.0030.04717.60
5.6.100.0080.04217.45
5.6.90.0030.04917.54
5.6.80.0050.04317.26
5.6.70.0080.00414.14
5.6.60.0110.00313.82
5.6.50.0060.00613.89
5.6.40.0070.00713.99
5.6.30.0030.01314.13
5.6.20.0150.00313.95
5.6.10.0140.00313.66
5.6.00.0100.01014.19
5.5.380.0040.00711.09
5.5.370.0070.00411.11
5.5.360.0030.01010.98
5.5.350.0050.04315.54
5.5.340.0120.04214.38
5.5.330.0050.04715.68
5.5.320.0280.03915.62
5.5.310.0170.03015.49
5.5.300.0030.02514.47
5.5.290.0100.03214.35
5.5.280.0110.02215.76
5.5.270.0150.04615.88
5.5.260.0070.04315.85
5.5.250.0030.02515.82
5.5.240.0030.02315.63
5.5.230.0050.00511.16
5.5.220.0030.00710.96
5.5.210.0030.00710.63
5.5.200.0000.01010.79
5.5.190.0130.00610.89
5.5.180.0120.00410.68
5.5.170.0030.00610.45
5.5.160.0090.00311.00
5.5.150.0030.01110.89
5.5.140.0030.00310.91
5.5.130.0040.00711.08
5.5.120.0100.00011.11
5.5.110.0100.00711.09
5.5.100.0040.00710.68
5.5.90.0000.01110.71
5.5.80.0070.00410.67
5.5.70.0060.00010.90
5.5.60.0090.00311.01
5.5.50.0070.00710.81
5.5.40.0100.00310.98
5.5.30.0070.01011.16
5.5.20.0070.00310.94
5.5.10.0120.00010.83
5.5.00.0070.00410.94

preferences:
58.95 ms | 401 KiB | 5 Q