3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('COURSE_PORTAL_URL', "https://learn.kognito.com/auth"); $pattern = '/https?:\/\/learn[.]kognito[.]com\/auth/'; $replacement = COURSE_PORTAL_URL; $courseData['auth_url'] = preg_replace($pattern, $replacement, $inputURL, 1); echo $courseData['auth_url'] . "?k=" . $cookie_id;

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.0140.00718.33
8.3.50.0110.01122.12
8.3.40.0100.01019.08
8.3.30.0140.00319.08
8.3.20.0030.00620.16
8.3.10.0070.00023.65
8.3.00.0040.00419.11
8.2.180.0040.01518.54
8.2.170.0040.01122.96
8.2.160.0100.00720.53
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0110.00017.90
8.2.110.0090.00020.43
8.2.100.0060.00618.10
8.2.90.0000.00818.34
8.2.80.0080.00018.05
8.2.70.0030.00517.88
8.2.60.0000.00817.88
8.2.50.0080.00018.03
8.2.40.0040.00419.73
8.2.30.0040.00419.31
8.2.20.0080.00017.92
8.2.10.0050.00218.10
8.2.00.0000.00818.02
8.1.280.0140.00425.92
8.1.270.0040.00418.95
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0000.00922.19
8.1.230.0110.00420.97
8.1.220.0030.00617.74
8.1.210.0000.00818.91
8.1.200.0030.00617.66
8.1.190.0030.00517.47
8.1.180.0040.00418.10
8.1.170.0080.00017.63
8.1.160.0080.00018.94
8.1.150.0040.00418.91
8.1.140.0000.00817.47
8.1.130.0040.00717.73
8.1.120.0000.00717.63
8.1.110.0030.00617.52
8.1.100.0000.00717.57
8.1.90.0030.00517.58
8.1.80.0000.00717.50
8.1.70.0030.00317.50
8.1.60.0120.00017.62
8.1.50.0050.00317.68
8.1.40.0000.00717.62
8.1.30.0060.00317.76
8.1.20.0000.00817.82
8.1.10.0070.00017.77
8.1.00.0050.00317.51
8.0.300.0040.00419.96
8.0.290.0040.00416.88
8.0.280.0000.00918.46
8.0.270.0030.00317.38
8.0.260.0000.00617.23
8.0.250.0000.00717.05
8.0.240.0030.00317.22
8.0.230.0040.00417.20
8.0.220.0000.00717.14
8.0.210.0030.00517.16
8.0.200.0080.00017.08
8.0.190.0000.00717.05
8.0.180.0000.00817.13
8.0.170.0040.00417.13
8.0.160.0070.00016.96
8.0.150.0040.00417.08
8.0.140.0080.00017.02
8.0.130.0050.00013.61
8.0.120.0050.00316.99
8.0.110.0000.00717.13
8.0.100.0000.00716.89
8.0.90.0000.00717.01
8.0.80.0130.00317.14
8.0.70.0000.00817.10
8.0.60.0030.00516.89
8.0.50.0050.00316.91
8.0.30.0130.00816.97
8.0.20.0120.00917.40
8.0.10.0000.00717.09
8.0.00.0090.01117.02
7.4.330.0020.00215.08
7.4.320.0060.00016.65
7.4.300.0000.00616.85
7.4.290.0000.00816.73
7.4.280.0000.00816.80
7.4.270.0030.00316.69
7.4.260.0000.00716.79
7.4.250.0040.00416.58
7.4.240.0020.00516.66
7.4.230.0030.00316.81
7.4.220.0040.01416.77
7.4.210.0040.00616.89
7.4.200.0000.00716.56
7.4.160.0120.00316.66
7.4.150.0070.01117.40
7.4.140.0150.00417.86
7.4.130.0120.00616.66
7.4.120.0110.00616.68
7.4.110.0060.01616.57
7.4.100.0120.00616.74
7.4.90.0150.00416.87
7.4.80.0110.01119.39
7.4.70.0070.01016.96
7.4.60.0080.00816.76
7.4.50.0040.00716.46
7.4.40.0130.00916.76
7.4.30.0070.01016.54
7.4.00.0070.01014.96
7.3.330.0050.00013.37
7.3.320.0060.00013.38
7.3.310.0000.00816.68
7.3.300.0000.00716.55
7.3.290.0090.00616.55
7.3.280.0120.00816.54
7.3.270.0080.01117.40
7.3.260.0180.00616.84
7.3.250.0090.00916.57
7.3.240.0220.00316.84
7.3.230.0130.00316.64
7.3.210.0090.00916.59
7.3.200.0120.00919.39
7.3.190.0090.01216.63
7.3.180.0000.01716.52
7.3.170.0060.00916.73
7.3.160.0080.00816.76
7.2.330.0090.00916.71
7.2.320.0190.00016.88
7.2.310.0090.00916.88
7.2.300.0120.01216.68
7.2.290.0030.01716.62
7.2.60.0060.00617.09
7.1.200.0040.00916.08
7.1.100.0000.01018.39
7.1.70.0060.00317.29
7.1.60.0120.01219.22
7.1.50.0060.01617.18
7.1.00.0030.07722.49
7.0.200.0000.00716.66
7.0.140.0000.03721.98
7.0.60.0070.06320.03
7.0.50.0070.05017.83
7.0.40.0070.05720.42
7.0.30.0230.07720.21
7.0.20.0170.07720.35
7.0.10.0070.07720.29
7.0.00.0170.08320.19
5.6.280.0030.07020.82
5.6.210.0030.07020.70
5.6.200.0100.07318.21
5.6.190.0130.06020.28
5.6.180.0170.05720.61
5.6.170.0200.04020.61
5.6.160.0030.04720.37
5.6.150.0030.08318.12
5.6.140.0000.06018.21
5.6.130.0070.04018.09
5.6.120.0100.08320.97
5.6.110.0030.08720.97
5.6.100.0070.08721.07
5.6.90.0100.08021.05
5.6.80.0170.06720.52
5.5.350.0100.03720.43
5.5.340.0030.06718.02
5.5.330.0070.04020.47
5.5.320.0300.07320.30
5.5.310.0300.06720.28
5.5.300.0070.04317.98
5.5.290.0070.05718.02
5.5.280.0130.07720.87
5.5.270.0070.08020.96
5.5.260.0070.08720.85
5.5.250.0070.08020.54
5.5.240.0030.08020.03
5.4.450.1800.04319.16
5.4.440.1700.04719.34
5.4.430.1530.04019.57
5.4.420.1470.03719.31
5.4.410.1670.04719.30
5.4.400.1600.05019.00
5.4.390.1170.03718.80
5.4.380.1130.05719.11
5.4.370.1700.03018.99
5.4.360.1300.04019.16
5.4.350.1300.04018.72
5.4.340.1600.04319.00
5.4.320.1500.03018.98
5.4.310.1670.05018.99
5.4.300.1870.03318.99
5.4.290.1600.04318.67
5.4.280.1800.04318.82
5.4.270.1900.03018.72
5.4.260.1600.03719.01
5.4.250.1500.04019.01
5.4.240.1570.03718.96
5.4.230.1570.03719.14
5.4.220.0670.04018.97
5.4.210.0070.03319.11
5.4.200.0030.03718.71
5.4.190.0470.04018.96
5.4.180.1700.03318.98
5.4.170.1830.04319.14
5.4.160.1670.04018.82
5.4.150.1500.04018.70
5.4.140.1730.04716.39
5.4.130.1600.03716.15
5.4.120.1530.03716.25
5.4.110.1500.04016.41
5.4.100.1670.04016.46
5.4.90.1530.03716.43
5.4.80.1600.03016.44
5.4.70.0900.04316.05
5.4.60.0030.04316.04
5.4.50.0000.06316.43
5.4.40.1530.03716.37
5.4.30.1630.03716.47
5.4.20.1630.02716.31
5.4.10.1600.04016.39
5.4.00.1470.03315.70
5.3.290.1770.04714.50
5.3.280.1530.03714.45
5.3.270.1800.03714.51
5.3.260.1770.04314.44
5.3.250.1800.03714.51
5.3.240.1600.04314.62
5.3.230.1170.04714.43
5.3.220.0130.06014.39
5.3.210.0000.05714.43
5.3.200.1800.04714.52
5.3.190.2130.04714.44
5.3.180.2030.04014.54
5.3.170.1730.04014.62
5.3.160.1870.03014.40
5.3.150.2000.04014.39
5.3.140.2100.04014.50
5.3.130.2070.04714.38
5.3.120.2100.03714.40
5.3.110.2000.04314.38
5.3.100.0030.04314.05
5.3.90.0030.08013.88
5.3.80.0070.03313.96
5.3.70.1630.04013.85
5.3.60.1770.03713.95
5.3.50.1530.04013.78
5.3.40.1700.04313.96
5.3.30.1470.03713.75
5.3.20.1600.03713.65
5.3.10.1600.03313.49
5.3.00.1830.03013.57
5.2.170.1600.02011.09
5.2.160.1470.04011.05
5.2.150.1470.03310.98
5.2.140.1470.04711.05
5.2.130.0100.05311.15
5.2.120.0000.03011.18
5.2.110.0100.06311.12
5.2.100.0070.03011.12
5.2.90.1600.03311.16
5.2.80.1430.04010.93
5.2.70.1500.03710.95
5.2.60.1230.03011.20
5.2.50.1470.03011.17
5.2.40.0970.03010.84
5.2.30.1030.02710.99
5.2.20.1100.04010.90
5.2.10.0970.03310.80
5.2.00.1270.03310.76
5.1.60.1270.03310.11
5.1.50.1200.02010.04
5.1.40.1230.03310.02
5.1.30.1100.02310.35
5.1.20.0030.03010.21
5.1.10.0030.02710.07
5.1.00.0030.02310.04
5.0.50.0070.0178.52
5.0.40.0170.0178.56
5.0.30.0630.0338.19
5.0.20.0530.0178.10
5.0.10.0630.0208.01
5.0.00.0600.0378.07
4.4.90.0530.0177.71
4.4.80.0530.0137.71
4.4.70.0730.0177.71
4.4.60.0500.0177.71
4.4.50.0630.0177.71
4.4.40.0530.0237.71
4.4.30.0530.0137.71
4.4.20.0530.0137.71
4.4.10.0500.0177.71
4.4.00.0800.0177.71
4.3.110.0600.0177.71
4.3.100.0570.0177.71
4.3.90.0570.0207.71
4.3.80.0570.0307.71
4.3.70.0500.0177.71
4.3.60.0530.0137.71
4.3.50.0600.0207.71
4.3.40.0500.0237.71
4.3.30.0270.0207.71
4.3.20.0300.0137.71
4.3.10.0330.0137.71
4.3.00.0230.0177.71

preferences:
46.96 ms | 401 KiB | 5 Q