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.0110.01116.50
8.3.50.0140.00621.10
8.3.40.0180.00318.71
8.3.30.0060.00918.67
8.3.20.0030.01020.34
8.3.10.0040.00423.66
8.3.00.0000.00823.53
8.2.180.0080.00818.50
8.2.170.0160.00622.96
8.2.160.0070.01020.39
8.2.150.0000.00724.18
8.2.140.0030.00524.66
8.2.130.0000.00826.16
8.2.120.0040.00421.19
8.2.110.0030.00722.08
8.2.100.0040.00717.80
8.2.90.0050.00319.07
8.2.80.0040.00417.97
8.2.70.0100.00317.63
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0060.00620.24
8.2.30.0040.00419.33
8.2.20.0040.00417.55
8.2.10.0080.00018.01
8.2.00.0050.00318.00
8.1.280.0160.00325.92
8.1.270.0090.00920.23
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00023.84
8.1.230.0110.00019.22
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0050.00220.66
8.1.150.0030.00518.84
8.1.140.0000.00819.58
8.1.130.0050.00217.65
8.1.120.0080.00017.46
8.1.110.0040.00417.32
8.1.100.0080.00017.44
8.1.90.0070.00017.43
8.1.80.0080.00017.42
8.1.70.0000.00717.44
8.1.60.0000.00817.43
8.1.50.0000.00817.48
8.1.40.0000.00917.54
8.1.30.0030.00517.56
8.1.20.0000.00717.64
8.1.10.0000.00717.34
8.1.00.0040.00417.34
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.39
8.0.270.0000.00717.08
8.0.260.0060.00017.04
8.0.250.0050.00316.97
8.0.240.0000.00816.96
8.0.230.0000.00716.95
8.0.220.0070.00016.87
8.0.210.0030.00316.75
8.0.200.0030.00316.89
8.0.190.0090.00016.89
8.0.180.0040.00416.96
8.0.170.0040.00416.89
8.0.160.0090.00016.98
8.0.150.0040.00416.76
8.0.140.0080.00416.86
8.0.130.0000.00613.28
8.0.120.0030.00516.79
8.0.110.0040.00416.88
8.0.100.0000.00716.89
8.0.90.0050.00316.95
8.0.80.0120.00416.91
8.0.70.0000.00816.86
8.0.60.0080.00017.03
8.0.50.0000.00816.70
8.0.30.0140.00417.00
8.0.20.0090.01117.40
8.0.10.0000.00716.91
8.0.00.0110.01116.77
7.4.330.0000.00516.89
7.4.320.0060.00016.57
7.4.300.0000.00716.46
7.4.290.0070.00016.47
7.4.280.0040.00416.54
7.4.270.0070.00016.52
7.4.260.0070.00016.58
7.4.250.0020.00516.56
7.4.240.0020.00516.40
7.4.230.0000.00716.52
7.4.220.0070.01316.36
7.4.210.0070.00716.55
7.4.200.0030.00316.63
7.4.160.0090.00916.36
7.4.150.0100.01317.40
7.4.140.0090.00917.86
7.4.130.0100.01016.43
7.4.120.0110.00716.41
7.4.110.0080.01116.61
7.4.100.0030.01616.41
7.4.90.0120.00616.56
7.4.80.0060.01319.39
7.4.70.0060.00916.34
7.4.60.0060.01216.61
7.4.50.0090.00616.32
7.4.40.0100.01316.34
7.4.30.0100.00716.61
7.4.10.0120.00615.14
7.4.00.0120.00714.83
7.3.330.0000.00513.27
7.3.320.0000.00513.11
7.3.310.0070.00016.35
7.3.300.0050.00216.27
7.3.290.0070.00916.33
7.3.280.0130.00616.25
7.3.270.0110.00717.40
7.3.260.0100.00716.48
7.3.240.0070.01316.38
7.3.230.0060.01016.63
7.3.210.0120.00616.38
7.3.200.0150.00919.39
7.3.190.0100.00716.48
7.3.180.0090.00616.24
7.3.170.0070.01016.27
7.3.160.0000.01516.33
7.3.130.0090.00914.73
7.3.120.0090.00914.54
7.3.110.0100.01014.79
7.3.100.0030.01014.62
7.3.90.0030.01614.63
7.3.80.0090.00614.59
7.3.70.0080.00414.86
7.3.60.0070.01114.86
7.3.50.0040.00714.77
7.3.40.0070.01014.68
7.3.30.0060.00614.84
7.3.20.0050.00516.61
7.3.10.0080.00816.66
7.3.00.0060.00616.61
7.2.330.0110.00616.73
7.2.320.0090.00916.63
7.2.310.0060.01116.56
7.2.300.0130.00916.43
7.2.290.0120.00616.35
7.2.260.0070.01114.84
7.2.250.0080.01114.90
7.2.240.0060.00614.93
7.2.230.0100.01014.85
7.2.220.0030.01715.18
7.2.210.0070.00714.84
7.2.200.0060.00914.86
7.2.190.0100.00615.00
7.2.180.0030.01015.01
7.2.170.0070.00715.00
7.2.160.0130.00014.64
7.2.150.0060.01216.65
7.2.140.0090.00616.60
7.2.130.0000.01416.88
7.2.120.0160.00316.60
7.2.110.0080.00616.67
7.2.100.0090.00616.76
7.2.90.0050.00516.83
7.2.80.0100.00616.32
7.2.70.0060.01216.52
7.2.60.0090.00516.81
7.2.50.0060.00616.80
7.2.40.0070.01116.88
7.2.30.0030.00716.86
7.2.20.0040.01216.93
7.2.10.0030.00716.61
7.2.00.0080.00616.73
7.1.330.0000.01315.66
7.1.320.0100.00315.77
7.1.310.0070.00715.46
7.1.300.0030.01015.58
7.1.290.0000.01315.77
7.1.280.0000.01415.41
7.1.270.0040.01115.46
7.1.260.0060.00315.66
7.1.250.0040.00415.43
7.1.240.0040.01115.59
7.1.230.0030.01015.41
7.1.220.0000.01315.72
7.1.210.0080.00615.74
7.1.200.0100.00615.68
7.1.190.0040.01115.53
7.1.180.0040.00715.50
7.1.170.0030.00715.78
7.1.160.0120.00015.61
7.1.150.0040.00415.79
7.1.140.0100.00715.80
7.1.130.0070.00715.83
7.1.120.0000.00815.54
7.1.110.0000.01515.76
7.1.100.0090.00615.58
7.1.90.0040.00415.68
7.1.80.0120.00315.81
7.1.70.0030.00816.51
7.1.60.0060.00916.42
7.1.50.0080.00816.22
7.1.40.0030.01315.60
7.1.30.0070.00415.74
7.1.20.0030.01215.62
7.1.10.0100.00015.42
7.1.00.0030.04518.99
7.0.330.0100.00315.41
7.0.320.0050.00315.27
7.0.310.0030.01315.32
7.0.300.0000.01715.49
7.0.290.0040.01115.20
7.0.280.0000.01115.15
7.0.270.0100.00315.07
7.0.260.0080.00415.48
7.0.250.0040.00415.11
7.0.240.0030.01015.09
7.0.230.0040.01115.34
7.0.220.0030.01015.45
7.0.210.0070.00715.30
7.0.200.0020.00715.96
7.0.190.0060.00615.29
7.0.180.0100.00315.23
7.0.170.0080.00415.47
7.0.160.0000.01215.13
7.0.150.0030.00715.30
7.0.140.0040.00714.96
7.0.130.0030.00515.17
7.0.120.0000.01315.09
7.0.110.0090.00015.35
7.0.100.0070.00315.11
7.0.90.0040.00815.35
7.0.80.0070.00715.18
7.0.70.0070.00015.27
7.0.60.0660.02717.72
7.0.50.0080.03516.36
7.0.40.0080.02616.84
7.0.30.0150.04316.74
7.0.20.0150.02816.79
7.0.10.0130.02116.62
7.0.00.0050.03816.60
5.6.400.0040.00814.20
5.6.390.0060.00614.49
5.6.380.0030.01013.86
5.6.370.0100.00714.29
5.6.360.0030.01014.61
5.6.350.0040.00414.46
5.6.340.0050.00513.89
5.6.330.0100.00314.36
5.6.320.0070.00714.24
5.6.310.0060.01014.32
5.6.300.0060.00914.20
5.6.290.0000.01314.24
5.6.280.0050.00514.49
5.6.270.0040.00414.27
5.6.260.0060.00614.25
5.6.250.0030.00614.33
5.6.240.0080.00614.14
5.6.230.0000.00814.13
5.6.220.0040.00414.34
5.6.210.0630.03017.41
5.6.200.0100.04016.18
5.6.190.0100.04217.50
5.6.180.0220.04617.36
5.6.170.0150.04017.21
5.6.160.0030.02717.40
5.6.150.0080.03316.23
5.6.140.0060.03816.23
5.6.130.0060.04316.38
5.6.120.0050.04817.65
5.6.110.0020.04417.67
5.6.100.0140.03717.47
5.6.90.0070.04317.51
5.6.80.0070.04317.18
5.6.70.0030.01614.30
5.6.60.0040.01114.05
5.6.50.0040.00813.82
5.6.40.0060.00614.16
5.6.30.0030.01014.19
5.6.20.0030.01014.38
5.6.10.0040.00714.33
5.6.00.0060.00614.09
5.5.380.0060.00914.22
5.5.370.0000.01214.21
5.5.360.0060.00314.30
5.5.350.0020.04717.18
5.5.340.0080.04216.13
5.5.330.0030.03517.07
5.5.320.0300.03717.22
5.5.310.0150.03117.18
5.5.300.0050.02915.90
5.5.290.0100.03916.13
5.5.280.0130.03917.58
5.5.270.0070.04617.60
5.5.260.0060.03917.35
5.5.250.0070.04417.32
5.5.240.0080.01817.24
5.5.230.0000.00914.13
5.5.220.0110.00313.78
5.5.210.0100.00714.21
5.5.200.0090.00614.25
5.5.190.0110.00414.21
5.5.180.0090.00014.22
5.5.170.0110.00713.98
5.5.160.0030.01314.18
5.5.150.0030.01014.14
5.5.140.0060.00614.23
5.5.130.0070.00713.83
5.5.120.0070.00713.97
5.5.110.0030.00914.16
5.5.100.0060.00614.08
5.5.90.0030.00613.88
5.5.80.0120.00414.13
5.5.70.0030.01014.08
5.5.60.0000.01714.05
5.5.50.0070.00714.17
5.5.40.0040.00714.20
5.5.30.0050.00514.22
5.5.20.0030.00714.00
5.5.10.0040.00713.77
5.5.00.0090.00314.16

preferences:
56.48 ms | 401 KiB | 5 Q