3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('session.hash_function','sha512'); session_start(); $orig = session_id(); session_regenerate_id(); $new = session_id(); var_dump($orig,$new);

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.00716.63
8.3.50.0090.00921.13
8.3.40.0110.00418.67
8.3.30.0060.01218.63
8.3.20.0040.00420.25
8.3.10.0040.00421.85
8.3.00.0080.00023.45
8.2.180.0150.00616.50
8.2.170.0110.00422.96
8.2.160.0110.00420.11
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00419.16
8.2.110.0000.01022.32
8.2.100.0000.01118.04
8.2.90.0000.00819.17
8.2.80.0040.00417.97
8.2.70.0060.00317.47
8.2.60.0060.00317.92
8.2.50.0070.00318.07
8.2.40.0080.00022.46
8.2.30.0000.00719.31
8.2.20.0050.00317.59
8.2.10.0000.00718.05
8.2.00.0080.00018.01
8.1.280.0130.00725.92
8.1.270.0040.00424.10
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00522.47
8.1.230.0080.00319.22
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0030.00618.57
8.1.160.0040.00420.77
8.1.150.0000.00718.75
8.1.140.0060.00319.49
8.1.130.0070.00017.61
8.1.120.0070.00017.40
8.1.110.0080.00017.36
8.1.100.0040.00317.32
8.1.90.0030.00617.41
8.1.80.0040.00417.44
8.1.70.0000.00717.39
8.1.60.0040.00417.53
8.1.50.0040.00417.45
8.1.40.0040.00417.50
8.1.30.0000.00817.50
8.1.20.0080.00017.57
8.1.10.0020.00517.36
8.1.00.0000.00817.36
8.0.300.0000.00918.77
8.0.290.0050.00216.75
8.0.280.0000.00718.33
8.0.270.0000.00716.76
8.0.260.0030.00317.18
8.0.250.0000.00716.81
8.0.240.0000.00717.02
8.0.230.0020.00516.94
8.0.220.0000.00716.85
8.0.210.0000.00716.83
8.0.200.0080.00016.83
8.0.190.0070.00316.80
8.0.180.0000.00716.95
8.0.170.0000.00816.79
8.0.160.0070.00016.83
8.0.150.0040.00416.69
8.0.140.0030.00516.75
8.0.130.0060.00013.25
8.0.120.0000.00816.80
8.0.110.0040.00416.89
8.0.100.0030.00516.74
8.0.90.0040.00416.74
8.0.80.0080.00816.75
8.0.70.0040.00416.63
8.0.60.0040.00416.78
8.0.50.0040.00416.86
8.0.30.0110.00616.93
8.0.20.0070.01117.40
8.0.10.0000.00816.98
8.0.00.0120.00916.71
7.4.330.0030.00316.83
7.4.320.0000.00616.47
7.4.300.0000.00616.41
7.4.290.0000.00716.59
7.4.280.0050.00616.58
7.4.270.0000.00816.31
7.4.260.0030.00516.46
7.4.250.0030.00716.54
7.4.240.0030.00316.54
7.4.230.0070.00016.55
7.4.220.0150.00916.66
7.4.210.0080.00616.42
7.4.200.0020.00516.62
7.4.160.0070.01016.45
7.4.150.0110.00717.40
7.4.140.0100.00917.86
7.4.130.0090.01116.56
7.4.120.0090.00816.44
7.4.110.0110.00716.55
7.4.100.0140.00716.57
7.4.90.0030.01416.45
7.4.80.0130.01019.39
7.4.70.0140.00516.30
7.4.60.0100.00716.40
7.4.50.0110.00816.61
7.4.40.0000.01716.21
7.4.30.0030.01416.41
7.4.00.0100.00714.72
7.3.330.0030.00313.06
7.3.320.0040.00412.98
7.3.310.0030.00616.27
7.3.300.0030.00316.14
7.3.290.0030.00316.12
7.3.280.0080.00716.17
7.3.270.0110.00617.40
7.3.260.0080.01016.34
7.3.250.0110.00716.21
7.3.240.0080.01216.15
7.3.230.0060.00916.39
7.3.210.0180.00016.14
7.3.200.0110.00716.45
7.3.190.0160.00316.45
7.3.180.0120.00416.20
7.3.170.0060.01516.27
7.3.160.0130.00316.27
7.3.10.0060.00916.29
7.3.00.0060.01216.35
7.2.330.0140.00316.27
7.2.320.0040.01416.61
7.2.310.0000.01716.59
7.2.300.0180.00316.71
7.2.290.0120.00616.45
7.2.130.0160.00316.57
7.2.120.0000.01016.79
7.2.110.0030.00716.78
7.2.100.0100.00716.52
7.2.90.0000.01516.64
7.2.80.0120.00816.61
7.2.70.0160.00916.54
7.2.60.0100.00516.32
7.2.50.0130.00316.65
7.2.40.0070.00716.85
7.2.30.0030.01016.77
7.2.20.0230.00016.68
7.2.10.0070.00716.85
7.2.00.0070.00917.93
7.1.250.0070.00715.43
7.1.200.0090.00315.72
7.1.70.0030.00917.16
7.1.60.0060.00617.09
7.1.50.0080.00316.83
7.1.00.0070.07322.48
7.0.200.0030.01316.56
7.0.60.0300.05721.74
7.0.50.0070.06017.81
7.0.40.0070.05719.98
7.0.30.0270.04020.03
7.0.20.0400.03720.00
7.0.10.0030.05320.33
7.0.00.0030.04320.17
5.6.280.0070.02720.92
5.6.210.0070.08320.66
5.6.200.0000.04318.16
5.6.190.0130.07320.35
5.6.180.0430.07020.58
5.6.170.0170.06020.48
5.6.160.0100.08720.54
5.6.150.0070.07018.20
5.6.140.0100.07018.15
5.6.130.0070.07018.15
5.6.120.0170.07721.14
5.6.110.0100.07721.04
5.6.100.0070.04020.97
5.6.90.0100.07320.94
5.6.80.0200.06320.27
5.5.350.0130.08320.39
5.5.340.0070.08017.98
5.5.330.0000.08320.40
5.5.320.0170.05020.34
5.5.310.0400.06020.29
5.5.300.0030.06717.96
5.5.290.0100.07717.95
5.5.280.0000.07020.82
5.5.270.0070.08320.78
5.5.260.0070.08320.75
5.5.250.0070.08020.69
5.5.240.0130.03720.06

preferences:
44.76 ms | 401 KiB | 5 Q