3v4l.org

run code in 300+ PHP versions simultaneously
<?php function oeffne($speicherpfad, $session_name) { echo $session_name; return(true); } function schliesse() { echo 'close'; return(true); } function lese($id) { echo 'read'; return ''; } function schreibe($id, $sess_daten) { echo 'write'; return true; } function loesche($id) { echo 'destory'; return true; } function gc($maxlifetime) { echo 'gc'; return true; } session_set_save_handler("oeffne", "schliesse", "lese", "schreibe", "loesche", "gc"); session_start(); session_destroy(); session_write_close();

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.01416.75
8.3.50.0060.01121.97
8.3.40.0070.01118.96
8.3.30.0150.00018.88
8.3.20.0040.00420.14
8.3.10.0080.00023.43
8.3.00.0060.00317.89
8.2.180.0140.00418.54
8.2.170.0090.00918.96
8.2.160.0100.00722.96
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00422.09
8.2.110.0090.00022.06
8.2.100.0080.00417.78
8.2.90.0040.00419.11
8.2.80.0080.00017.97
8.2.70.0040.00417.25
8.2.60.0080.00017.80
8.2.50.0090.00018.07
8.2.40.0050.00318.22
8.2.30.0050.00217.94
8.2.20.0050.00317.70
8.2.10.0040.00417.56
8.2.00.0040.00417.73
8.1.280.0090.00625.92
8.1.270.0040.00423.82
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.89
8.1.230.0110.00019.01
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.35
8.1.190.0080.00017.30
8.1.180.0040.00418.10
8.1.170.0050.00318.66
8.1.160.0040.00421.93
8.1.150.0030.00318.55
8.1.140.0040.00417.39
8.1.130.0030.00317.73
8.1.120.0040.00417.36
8.1.110.0000.00817.34
8.1.100.0000.00817.29
8.1.90.0040.00417.34
8.1.80.0000.00717.35
8.1.70.0040.00417.20
8.1.60.0040.00417.48
8.1.50.0000.00817.40
8.1.40.0030.00617.38
8.1.30.0080.00017.43
8.1.20.0030.00617.50
8.1.10.0000.00817.51
8.1.00.0040.00417.26
8.0.300.0000.00718.77
8.0.290.0000.00717.04
8.0.280.0070.00018.32
8.0.270.0030.00617.18
8.0.260.0000.00816.72
8.0.250.0030.00316.93
8.0.240.0040.00416.96
8.0.230.0000.00816.79
8.0.220.0000.00716.81
8.0.210.0040.00416.72
8.0.200.0030.00316.93
8.0.190.0000.00716.91
8.0.180.0040.00416.84
8.0.170.0040.00416.86
8.0.160.0000.00716.88
8.0.150.0030.00416.77
8.0.140.0040.00416.68
8.0.130.0030.00313.14
8.0.120.0000.00816.78
8.0.110.0030.00516.84
8.0.100.0050.00216.73
8.0.90.0040.00416.73
8.0.80.0100.00616.76
8.0.70.0000.00716.72
8.0.60.0000.00916.71
8.0.50.0070.00016.70
8.0.30.0120.00817.03
8.0.20.0050.01417.40
8.0.10.0000.00716.95
8.0.00.0070.01416.78
7.4.330.0000.00515.01
7.4.320.0000.00616.37
7.4.300.0030.00716.43
7.4.290.0070.00016.41
7.4.280.0000.00716.46
7.4.270.0060.00016.46
7.4.260.0030.00316.26
7.4.250.0070.00016.42
7.4.240.0030.00316.33
7.4.230.0000.00716.50
7.4.220.0070.01116.40
7.4.210.0090.00916.36
7.4.200.0030.00316.58
7.4.190.0000.00716.60
7.4.160.0040.01416.42
7.4.150.0000.01717.40
7.4.140.0130.01117.86
7.4.130.0070.00916.40
7.4.120.0120.00516.44
7.4.110.0070.01016.39
7.4.100.0100.01316.40
7.4.90.0090.00916.32
7.4.80.0080.01516.44
7.4.70.0160.00016.25
7.4.60.0130.00716.44
7.4.50.0030.00616.32
7.4.40.0070.01022.77
7.4.30.0060.00916.33
7.4.00.0070.01114.66
7.3.330.0000.00513.32
7.3.320.0000.00513.32
7.3.310.0030.00316.34
7.3.300.0000.00716.17
7.3.290.0070.00716.29
7.3.280.0090.00816.29
7.3.270.0120.00417.40
7.3.260.0140.00316.58
7.3.250.0130.00716.48
7.3.240.0120.00416.37
7.3.230.0000.01816.49
7.3.210.0120.00616.33
7.3.200.0030.01319.39
7.3.190.0130.00516.35
7.3.180.0090.00616.45
7.3.170.0160.00616.38
7.3.160.0070.01116.41
7.3.120.0030.01214.95
7.3.110.0000.01714.79
7.3.100.0090.00614.68
7.3.90.0100.00714.65
7.3.80.0060.00715.16
7.3.70.0060.00614.66
7.3.60.0110.00714.68
7.3.50.0130.00314.87
7.3.40.0080.00414.58
7.3.30.0090.00314.83
7.3.20.0070.00716.70
7.3.10.0060.00616.73
7.3.00.0030.01016.57
7.2.330.0090.00916.55
7.2.320.0070.01016.38
7.2.310.0100.00716.69
7.2.300.0100.00616.60
7.2.290.0030.01216.27
7.2.250.0070.01314.88
7.2.240.0100.01014.56
7.2.230.0000.01714.98
7.2.220.0060.00614.67
7.2.210.0090.00615.00
7.2.200.0070.00314.52
7.2.190.0060.01014.95
7.2.180.0110.00314.63
7.2.170.0000.00914.70
7.2.60.0050.00816.49
7.2.50.0060.00816.74
7.1.330.0140.00015.64
7.1.320.0090.00315.84
7.1.310.0080.00415.50
7.1.300.0070.00715.46
7.1.290.0040.00415.57
7.1.280.0060.00915.55
7.1.270.0070.00415.64
7.1.260.0040.00715.77
7.1.200.0030.00715.86
7.1.70.0080.00317.17
7.1.60.0070.01719.29
7.1.50.0040.00816.45
7.1.00.0030.07722.37
7.0.200.0030.00616.45
7.0.140.0030.07322.10
7.0.60.1500.07320.04
7.0.50.0030.04717.87
7.0.40.0070.06320.02
7.0.30.0370.07020.09
7.0.20.0170.08320.25
7.0.10.0230.08320.07
7.0.00.0170.07720.23
5.6.280.0030.07321.07
5.6.210.1630.07020.66
5.6.200.0100.04718.13
5.6.190.0070.08020.41
5.6.180.0430.07720.64
5.6.170.0330.07320.50
5.6.160.0100.04020.48
5.6.150.0130.04318.16
5.6.140.0000.07318.12
5.6.130.0100.08718.12
5.6.120.0070.04321.03
5.6.110.0070.03720.99
5.6.100.0030.04020.86
5.6.90.0130.08021.01
5.6.80.0070.08020.41
5.5.350.0070.06720.49
5.5.340.0170.05017.97
5.5.330.0030.04320.13
5.5.320.0030.06020.36
5.5.310.0230.05020.35
5.5.300.0030.05318.03
5.5.290.0030.08718.09
5.5.280.0100.04020.77
5.5.270.0070.08320.63
5.5.260.0130.08020.68
5.5.250.0170.06320.55
5.5.240.0100.07020.37
5.4.450.0970.03319.32
5.4.440.0800.05319.47
5.4.430.0300.05319.55
5.4.420.0600.07019.52
5.4.410.0600.06019.42
5.4.400.0870.07019.39
5.4.390.0770.05318.84
5.4.380.0470.02718.51
5.4.370.0200.05018.84
5.4.360.0200.05018.75
5.4.350.0230.05018.70
5.4.340.0130.06018.51
5.4.320.0040.04012.51
5.4.310.0070.04512.50
5.4.300.0050.03612.51
5.4.290.0080.03512.50
5.4.280.0050.03612.40
5.4.270.0090.04812.38
5.4.260.0080.05012.38
5.4.250.0040.04112.37
5.4.240.0100.03512.38
5.4.230.0100.03512.37
5.4.220.0050.04012.36
5.4.210.0060.03712.36
5.4.200.0060.03712.36
5.4.190.0100.03512.36
5.4.180.0130.03012.36
5.4.170.0090.03212.37
5.4.160.0100.03212.37
5.4.150.0070.03512.36
5.4.140.0030.04812.04
5.4.130.0060.03712.04
5.4.120.0070.03511.99
5.4.110.0060.03511.99
5.4.100.0060.03711.99
5.4.90.0050.04611.99
5.4.80.0070.04011.99
5.4.70.0050.04211.99
5.4.60.0100.03211.99
5.4.50.0030.03811.98
5.4.40.0060.03711.97
5.4.30.0070.03511.97
5.4.20.0050.03811.97
5.4.10.0100.03111.97
5.4.00.0060.03711.46
5.3.290.0080.05412.80
5.3.280.0100.03412.71
5.3.270.0060.04012.72
5.3.260.0090.03712.72
5.3.250.0050.03812.72
5.3.240.0060.03912.72
5.3.230.0060.03712.71
5.3.220.0040.04612.68
5.3.210.0080.04412.68
5.3.200.0070.03612.68
5.3.190.0070.04212.68
5.3.180.0060.03612.67
5.3.170.0060.03712.67
5.3.160.0060.03612.68
5.3.150.0030.04212.67
5.3.140.0070.03712.66
5.3.130.0100.03912.66
5.3.120.0060.04012.66
5.3.110.0060.04012.66
5.3.100.0040.04112.12
5.3.90.0060.03812.09
5.3.80.0090.03612.07
5.3.70.0090.04112.08
5.3.60.0070.03712.06
5.3.50.0050.03812.00
5.3.40.0040.03912.00
5.3.30.0070.03611.97
5.3.20.0100.03211.75
5.3.10.0050.03611.71
5.3.00.0090.03911.70
5.2.170.0060.0329.20
5.2.160.0060.0339.20
5.2.150.0060.0329.20
5.2.140.0060.0339.20
5.2.130.0020.0329.16
5.2.120.0040.0299.16
5.2.110.0060.0299.16
5.2.100.0070.0289.18
5.2.90.0060.0289.17
5.2.80.0080.0329.16
5.2.70.0080.0289.16
5.2.60.0070.0329.11
5.2.50.0070.0299.08
5.2.40.0060.0289.05
5.2.30.0090.0329.04
5.2.20.0080.0329.03
5.2.10.0110.0348.95
5.2.00.0050.0328.81
5.1.60.0070.0268.09
5.1.50.0080.0318.09
5.1.40.0050.0348.07
5.1.30.0020.0288.42
5.1.20.0040.0288.45
5.1.10.0030.0288.18
5.1.00.0010.0298.17
5.0.50.0060.0196.64
5.0.40.0040.0286.50
5.0.30.0060.0336.32
5.0.20.0050.0266.29
5.0.10.0040.0236.26
5.0.00.0060.0306.26
4.4.90.0030.0164.78
4.4.80.0030.0164.75
4.4.70.0040.0154.75
4.4.60.0050.0144.76
4.4.50.0040.0204.77
4.4.40.0040.0314.71
4.4.30.0050.0134.76
4.4.20.0030.0164.84
4.4.10.0020.0164.84
4.4.00.0050.0234.76
4.3.110.0010.0184.67
4.3.100.0030.0154.67
4.3.90.0050.0134.64
4.3.80.0030.0254.58
4.3.70.0050.0124.63
4.3.60.0020.0154.62
4.3.50.0010.0174.63
4.3.40.0030.0244.54
4.3.30.0020.0163.32
4.3.20.0040.0173.30
4.3.10.0020.0163.26
4.3.00.0000.02013.14

preferences:
47.98 ms | 401 KiB | 5 Q