3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lngtrainscrid=8; $strurlregister="http://formations.ademe.fr/solutions/register-thankyou.php?folid=26&devis=0&creacompte=0"; $strurlpos = strpos($strurlregister,".com/"); $strurlpos2 = strpos($strurlregister,".org/"); if($strurlpos != 0){ $strurlsuppr = substr($strurlregister,$strurlpos+4); $strurl = str_replace($strurlsuppr,"",$strurlregister); }else{ $strurlsuppr = substr($strurlregister,$strurlpos2+4); $strurl = str_replace($strurlsuppr,"",$strurlregister); } $strurl.="/back/trainbordereaupreinscr.php?output=5&trainscrid=".$lngtrainscrid; echo $strurl;

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.00318.68
8.3.50.0100.01021.98
8.3.40.0100.00618.80
8.3.30.0000.01419.09
8.3.20.0090.00020.34
8.3.10.0050.00323.65
8.3.00.0050.00319.20
8.2.180.0080.00618.54
8.2.170.0030.01022.96
8.2.160.0140.00021.95
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00319.79
8.2.110.0000.00922.12
8.2.100.0040.00718.03
8.2.90.0050.00517.88
8.2.80.0050.00318.05
8.2.70.0040.00418.05
8.2.60.0060.00318.22
8.2.50.0000.00818.10
8.2.40.0000.00819.48
8.2.30.0000.00819.34
8.2.20.0040.00417.75
8.2.10.0040.00418.06
8.2.00.0040.00417.77
8.1.280.0100.01025.92
8.1.270.0030.00519.00
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0000.00923.95
8.1.230.0080.00419.03
8.1.220.0000.00817.91
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0030.00617.10
8.1.180.0080.00418.10
8.1.170.0040.00418.51
8.1.160.0040.00418.86
8.1.150.0000.00718.99
8.1.140.0040.00417.45
8.1.130.0070.00017.93
8.1.120.0030.00317.39
8.1.110.0040.00417.49
8.1.100.0030.00317.57
8.1.90.0070.00017.51
8.1.80.0000.00717.52
8.1.70.0070.00017.40
8.1.60.0000.00817.59
8.1.50.0040.00417.45
8.1.40.0040.00417.58
8.1.30.0030.00517.59
8.1.20.0030.00517.64
8.1.10.0040.00417.55
8.1.00.0000.00817.49
8.0.300.0050.00321.59
8.0.290.0050.00316.75
8.0.280.0040.00418.44
8.0.270.0000.00717.26
8.0.260.0000.00717.29
8.0.250.0030.00317.07
8.0.240.0050.00317.07
8.0.230.0060.00317.08
8.0.220.0000.00716.98
8.0.210.0030.00317.00
8.0.200.0030.00317.09
8.0.190.0050.00317.11
8.0.180.0040.00417.02
8.0.170.0050.00316.88
8.0.160.0080.00017.04
8.0.150.0000.00716.93
8.0.140.0030.00616.82
8.0.130.0050.00013.46
8.0.120.0030.00616.87
8.0.110.0070.00016.92
8.0.100.0080.00017.05
8.0.90.0040.00416.84
8.0.80.0100.00717.02
8.0.70.0040.00416.96
8.0.60.0070.00016.81
8.0.50.0000.00716.95
8.0.30.0120.00717.02
8.0.20.0150.00617.43
8.0.10.0050.00217.14
8.0.00.0070.01116.83
7.4.330.0030.00315.03
7.4.320.0070.00016.53
7.4.300.0000.00616.61
7.4.290.0000.00716.53
7.4.280.0050.00216.65
7.4.270.0000.00716.57
7.4.260.0040.00416.61
7.4.250.0000.00816.66
7.4.240.0040.00316.62
7.4.230.0000.00616.64
7.4.220.0100.01016.69
7.4.210.0070.01016.63
7.4.200.0070.00016.73
7.4.160.0030.01216.57
7.4.150.0070.01617.40
7.4.140.0080.01017.86
7.4.130.0070.01316.67
7.4.120.0130.00616.60
7.4.110.0100.01016.59
7.4.100.0120.00616.54
7.4.90.0100.00716.54
7.4.80.0160.00319.39
7.4.70.0070.01016.64
7.4.60.0030.01316.44
7.4.50.0000.00716.67
7.4.40.0140.00316.54
7.4.30.0090.01616.54
7.4.00.0090.00615.22
7.3.330.0060.00012.93
7.3.320.0000.00613.00
7.3.310.0030.00516.05
7.3.300.0030.00316.22
7.3.290.0090.00816.20
7.3.280.0090.00916.21
7.3.270.0080.00817.40
7.3.260.0130.00316.59
7.3.250.0080.01016.17
7.3.240.0090.00916.50
7.3.230.0060.00916.43
7.3.210.0100.00616.49
7.3.200.0000.02019.39
7.3.190.0030.01616.45
7.3.180.0090.00616.54
7.3.170.0040.01516.41
7.3.160.0140.00616.24
7.2.330.0030.01616.60
7.2.320.0130.00316.64
7.2.310.0030.01316.66
7.2.300.0080.00816.39
7.2.290.0090.00916.52
7.2.60.0070.00716.70
7.2.00.0210.01019.50
7.1.200.0000.01415.53
7.1.100.0030.00717.96
7.1.70.0000.00917.33
7.1.60.0130.01019.22
7.1.50.0060.01317.03
7.1.00.0070.07322.45
7.0.200.0060.00316.81
7.0.140.0030.05322.09
7.0.60.0070.05320.04
7.0.50.0130.07317.93
7.0.40.0030.04320.00
7.0.30.0400.06020.23
7.0.20.0130.05320.33
7.0.10.0000.06320.18
7.0.00.0070.08320.01
5.6.280.0070.07020.91
5.6.210.0130.07320.69
5.6.200.0200.07318.22
5.6.190.0030.07720.57
5.6.180.0230.05020.46
5.6.170.0300.07720.48
5.6.160.0030.09020.61
5.6.150.0000.08018.16
5.6.140.0030.04318.15
5.6.130.0000.05318.20
5.6.120.0130.05720.98
5.6.110.0030.06720.99
5.6.100.0000.06720.96
5.6.90.0100.04320.99
5.6.80.0100.07720.39
5.5.350.0330.07320.41
5.5.340.0100.07717.98
5.5.330.0100.08020.40
5.5.320.0030.04020.13
5.5.310.0270.06320.27
5.5.300.0030.05717.94
5.5.290.0070.07317.91
5.5.280.0100.04020.77
5.5.270.0070.07720.75
5.5.260.0070.08320.77
5.5.250.0130.07020.57
5.5.240.0070.07720.27
5.4.450.0800.08019.62
5.4.440.0700.06319.42
5.4.430.0870.05019.50
5.4.420.0100.05719.58
5.4.410.0570.06019.43
5.4.400.0900.05319.29
5.4.390.0600.05319.30
5.4.380.0230.05018.73
5.4.370.0170.05718.71
5.4.360.0200.05318.71
5.4.350.0130.06318.52
5.4.340.0130.05718.63
5.4.320.0200.06018.71
5.4.310.0270.04718.57
5.4.300.0330.05018.45
5.4.290.0300.04318.42
5.4.280.0230.05018.65
5.4.270.0200.05318.56
5.4.260.0200.05318.49
5.4.250.0270.05018.73
5.4.240.0170.06018.57
5.4.230.0200.05318.48
5.4.220.0200.05718.55
5.4.210.0230.05018.70
5.4.200.0130.05716.73
5.4.190.0270.04718.66
5.4.180.0230.07318.61
5.4.170.0330.05318.55
5.4.160.0270.06718.65
5.4.150.0270.04718.57
5.4.140.0130.05716.07
5.4.130.0200.05016.10
5.4.120.0200.05016.03
5.4.110.0230.04016.15
5.4.100.0270.04716.12
5.4.90.0230.04716.30
5.4.80.0200.04716.13
5.4.70.0270.04316.18
5.4.60.0200.05016.23
5.4.50.0230.04716.01
5.4.40.0200.05016.11
5.4.30.0230.04716.23
5.4.20.0130.06016.12
5.4.10.0300.04316.22
5.4.00.0100.05715.76
5.3.290.0200.05314.64
5.3.280.0300.04014.50
5.3.270.0130.06014.58
5.3.260.0200.06014.61
5.3.250.0330.03714.61
5.3.240.0270.05714.50
5.3.230.0270.05314.59
5.3.220.0170.05314.63
5.3.210.0400.03314.53
5.3.200.0270.04314.46
5.3.190.0170.05314.56
5.3.180.0170.05314.54
5.3.170.0230.04714.63
5.3.160.0130.05714.59
5.3.150.0270.04314.55
5.3.140.0170.05714.64
5.3.130.0130.06014.52
5.3.120.0270.04314.51
5.3.110.0130.06014.54
5.3.100.0270.04314.11
5.3.90.0270.04314.01
5.3.80.0170.06014.05
5.3.70.0170.05314.00
5.3.60.0230.04713.98
5.3.50.0130.05713.92
5.3.40.0070.06013.88
5.3.30.0230.04714.03
5.3.20.0200.05013.58
5.3.10.0170.05313.64
5.3.00.0100.06313.59
5.2.170.0130.04711.28
5.2.160.0130.04011.20
5.2.150.0170.04011.09
5.2.140.0200.03711.18
5.2.130.0230.03711.25
5.2.120.0200.03311.13
5.2.110.0130.04011.16
5.2.100.0200.03711.15
5.2.90.0100.05311.09
5.2.80.0170.04011.06
5.2.70.0170.04311.15
5.2.60.0170.04011.02
5.2.50.0130.04310.99
5.2.40.0070.04711.13
5.2.30.0130.04310.97
5.2.20.0170.03711.07
5.2.10.0170.03710.85
5.2.00.0130.04310.81
5.1.60.0200.04010.02
5.1.50.0130.03710.10
5.1.40.0130.03310.04
5.1.30.0100.04010.53
5.1.20.0200.03010.34
5.1.10.0170.03310.10
5.1.00.0130.03310.16
5.0.50.0100.0278.58
5.0.40.0070.0278.39
5.0.30.0130.0408.35
5.0.20.0100.0278.23
5.0.10.0070.0308.19
5.0.00.0070.0438.25
4.4.90.0070.0236.74
4.4.80.0030.0236.74
4.4.70.0030.0276.74
4.4.60.0070.0236.74
4.4.50.0100.0176.74
4.4.40.0070.0336.74
4.4.30.0100.0176.74
4.4.20.0030.0236.74
4.4.10.0070.0236.74
4.4.00.0030.0376.74
4.3.110.0100.0206.74
4.3.100.0030.0236.74
4.3.90.0130.0176.74
4.3.80.0100.0306.74
4.3.70.0030.0236.74
4.3.60.0030.0236.74
4.3.50.0000.0276.74
4.3.40.0100.0306.74
4.3.30.0000.0276.74
4.3.20.0030.0236.74
4.3.10.0100.0206.74
4.3.00.0130.0237.57

preferences:
43.86 ms | 401 KiB | 5 Q