3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo phpinfo(); // date_default_timezone_set('US/Mountain'); //$_POST['email'] = "test@test.com"; $myRegimen = "slim1"; $regURL = file_get_contents("http://www.limitlessww.com/regimens.php"); $json = json_decode($regURL); //$regimens = json_decode($regURL, TRUE); //print_r(json_last_error()); // call after json_decode foreach($json->regimens as $item) { echo "got here"; if($item->fid == $myRegimen) { $regimenName = $item->name; echo "got here"; foreach($item->morning as $mornprods) { $morningProds .= $mornprods . '\r\n'; } foreach($item->afternoon as $afterprods) { $afternoonProds .= $afterprods . '\r\n'; } foreach($item->evening as $eveprods) { $eveningProds .= $eveprods . '\r\n'; } } }

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.0060.00918.61
8.3.50.0160.00522.11
8.3.40.0140.00719.11
8.3.30.0140.00719.34
8.3.20.0080.00020.54
8.3.10.0050.00322.42
8.3.00.0050.00322.73
8.2.180.0070.01316.49
8.2.170.0140.00722.96
8.2.160.0110.00321.06
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0060.00319.61
8.2.110.0060.00321.14
8.2.100.0060.00618.03
8.2.90.0030.00519.48
8.2.80.0050.00318.00
8.2.70.0000.00817.75
8.2.60.0040.00418.05
8.2.50.0000.01018.07
8.2.40.0050.00318.28
8.2.30.0060.00318.23
8.2.20.0080.00017.96
8.2.10.0000.00818.15
8.2.00.0060.00317.92
8.1.280.0120.00325.92
8.1.270.0000.00822.29
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0060.00321.37
8.1.230.0040.00717.64
8.1.220.0030.00517.91
8.1.210.0060.00318.77
8.1.200.0030.00717.35
8.1.190.0080.00017.48
8.1.180.0040.00418.81
8.1.170.0000.00818.75
8.1.160.0040.00422.26
8.1.150.0000.00818.79
8.1.140.0080.00017.66
8.1.130.0070.00018.09
8.1.120.0040.00417.65
8.1.110.0050.00217.72
8.1.100.0000.00717.73
8.1.90.0040.00417.60
8.1.80.0040.00417.71
8.1.70.0050.00317.56
8.1.60.0060.00317.83
8.1.50.0000.00817.73
8.1.40.0040.00417.79
8.1.30.0040.00417.74
8.1.20.0000.00817.78
8.1.10.0050.00317.56
8.1.00.0000.00817.54
8.0.300.0040.00418.77
8.0.290.0060.00317.00
8.0.280.0070.00018.65
8.0.270.0000.00717.45
8.0.260.0000.00817.16
8.0.250.0070.00017.12
8.0.240.0060.00317.21
8.0.230.0050.00317.28
8.0.220.0040.00417.15
8.0.210.0040.00417.09
8.0.200.0000.00617.20
8.0.190.0090.00317.21
8.0.180.0040.00417.22
8.0.170.0040.00417.24
8.0.160.0000.00717.29
8.0.150.0030.00617.23
8.0.140.0050.00217.27
8.0.130.0030.00313.73
8.0.120.0000.00817.23
8.0.110.0080.00017.40
8.0.100.0000.00717.20
8.0.90.0050.00317.25
8.0.80.0070.01017.21
8.0.70.0040.00417.12
8.0.60.0000.00817.30
8.0.50.0040.00417.28
8.0.30.0140.00817.39
8.0.20.0090.01117.51
8.0.10.0040.00417.40
8.0.00.0090.01016.98
7.4.330.0030.00315.33
7.4.320.0000.00616.80
7.4.300.0070.00016.80
7.4.290.0000.00716.68
7.4.280.0070.00016.76
7.4.270.0030.00316.76
7.4.260.0100.00016.77
7.4.250.0090.00016.84
7.4.240.0050.00216.88
7.4.230.0000.00716.70
7.4.220.0070.01316.92
7.4.210.0050.01016.72
7.4.200.0030.00516.81
7.4.190.0070.00016.99
7.4.160.0170.00016.68
7.4.150.0080.01117.40
7.4.140.0120.00817.86
7.4.130.0080.01116.79
7.4.120.0110.00916.70
7.4.110.0140.00816.91
7.4.100.0110.01116.88
7.4.90.0120.00616.79
7.4.80.0040.01719.39
7.4.70.0190.00616.78
7.4.60.0100.00716.97
7.4.50.0090.00016.63
7.4.40.0090.00922.77
7.4.30.0070.01016.85
7.4.00.0080.01015.22
7.3.330.0000.00613.47
7.3.320.0000.00513.44
7.3.310.0030.00316.62
7.3.300.0000.00716.50
7.3.290.0090.00616.49
7.3.280.0110.00916.58
7.3.270.0070.01117.40
7.3.260.0090.00916.55
7.3.250.0080.01116.44
7.3.240.0150.00616.63
7.3.230.0150.00616.75
7.3.210.0060.01116.72
7.3.200.0140.00519.39
7.3.190.0140.00416.68
7.3.180.0110.00716.44
7.3.170.0120.00616.63
7.3.160.0110.00716.67
7.3.120.0070.01114.83
7.3.110.0090.01115.16
7.3.100.0080.00915.14
7.3.90.0050.00915.04
7.3.80.0070.00815.23
7.3.70.0060.00814.98
7.3.60.0060.00715.09
7.3.50.0110.00514.92
7.3.40.0040.00814.89
7.3.30.0090.00714.88
7.3.20.0050.01016.66
7.3.10.0110.00316.69
7.3.00.0110.00316.67
7.2.330.0080.00816.59
7.2.320.0100.01616.70
7.2.310.0070.01016.92
7.2.300.0130.00616.86
7.2.290.0140.00416.91
7.2.250.0070.01115.30
7.2.240.0100.01015.17
7.2.230.0050.01415.16
7.2.220.0090.00515.18
7.2.210.0080.00815.20
7.2.200.0030.01015.01
7.2.190.0000.01415.24
7.2.180.0090.00715.37
7.2.170.0070.00915.15
7.2.60.0030.01217.27
7.2.00.0100.00319.80
7.1.330.0070.00915.98
7.1.320.0090.00616.06
7.1.310.0090.00616.02
7.1.300.0050.01215.91
7.1.290.0050.00916.06
7.1.280.0100.00415.93
7.1.270.0050.00915.87
7.1.260.0070.00816.01
7.1.200.0070.00715.84
7.1.100.0060.00618.66
7.1.70.0030.00617.52
7.1.60.0210.00319.82
7.1.50.0070.01417.02
7.1.00.0030.07722.96
7.0.200.0000.01017.08
7.0.140.0030.07022.46
7.0.60.0070.04720.26
7.0.50.0000.04718.13
7.0.40.0030.07720.65
7.0.30.0270.04320.45
7.0.20.0330.07020.46
7.0.10.0300.07320.45
7.0.00.0070.07320.51
5.6.280.0130.06321.36
5.6.210.0030.07021.08
5.6.200.0100.04718.57
5.6.190.0100.06021.01
5.6.180.3500.03721.06
5.6.170.0270.03720.89
5.6.160.0100.04720.86
5.6.150.0000.04718.49
5.6.140.0070.03718.54
5.6.130.0100.05318.54
5.6.120.0100.06021.34
5.6.110.0130.07721.38
5.6.100.0030.07321.24
5.6.90.0270.07321.52
5.6.80.0100.07720.64
5.6.70.0300.06720.81
5.5.350.0070.06020.78
5.5.340.0000.08718.27
5.5.330.0070.07720.83
5.5.320.0200.04720.59
5.5.310.0270.07720.65
5.5.300.0070.04718.32
5.5.290.0070.03718.53
5.5.280.0000.04321.29
5.5.270.0100.08321.25
5.5.260.0130.08021.20
5.5.250.0030.04020.98
5.5.240.0100.08020.47
5.4.450.0170.08019.74
5.4.440.0570.06019.67
5.4.430.0130.05319.69
5.4.420.0070.06019.71
5.4.410.0170.04719.64
5.4.400.0800.00019.13
5.4.390.0730.00018.92
5.4.380.0230.05719.07
5.4.370.0270.05018.87
5.4.360.0370.05019.03
5.4.350.0300.06319.14
5.4.340.0230.05719.12
5.4.320.0100.03612.68
5.4.310.0070.04612.68
5.4.300.0070.03412.68
5.4.290.0070.03812.68
5.4.280.0070.03612.57
5.4.270.0080.04312.57
5.4.260.0170.04319.24
5.4.250.0100.05019.23
5.4.240.0070.05319.18
5.4.230.0230.06319.19
5.4.220.0130.05318.91
5.4.210.0200.04719.07
5.4.200.0170.07019.18
5.4.190.0030.05719.13
5.4.180.0100.04719.22
5.4.170.0130.06719.04
5.4.160.0070.05719.21
5.4.150.0130.05318.89
5.4.140.0130.05016.73
5.4.130.0130.05016.73
5.4.120.0030.05716.63
5.4.110.0200.06016.86
5.4.100.0100.04716.74
5.4.90.0100.07016.75
5.4.80.0100.05016.73
5.4.70.0100.05016.68
5.4.60.0170.04316.75
5.4.50.0170.04016.82
5.4.40.0130.05316.72
5.4.30.0070.05016.72
5.4.20.0130.04316.71
5.4.10.0070.06016.72
5.4.00.0030.05316.38
5.3.290.0060.04112.89
5.3.280.0070.05014.71
5.3.270.0170.05014.94
5.3.260.0030.05714.86
5.3.250.0200.06714.55
5.3.240.0130.05314.72
5.3.230.0100.05714.62
5.3.220.0100.06014.64
5.3.210.0200.06314.66
5.3.200.0130.04714.67
5.3.190.0070.05314.50
5.3.180.0000.05714.51
5.3.170.0030.05714.64
5.3.160.0030.05314.64
5.3.150.0070.05314.69
5.3.140.0170.04014.82
5.3.130.0200.04014.79
5.3.120.0030.05714.88
5.3.110.0200.04314.57
5.3.100.0130.04714.11
5.3.90.0030.05714.30
5.3.80.0170.05014.13
5.3.70.0100.04714.29
5.3.60.0070.05014.11
5.3.50.0100.05314.10
5.3.40.0100.05014.23
5.3.30.0070.05713.93
5.3.20.0070.05013.79
5.3.10.0170.04013.75
5.3.00.0130.04713.92
5.2.170.0070.04011.18
5.2.160.0130.03711.21
5.2.150.0100.04011.34
5.2.140.0130.03711.25
5.2.130.0100.05011.29
5.2.120.0030.05711.29
5.2.110.0070.04311.21
5.2.100.0100.03311.43
5.2.90.0000.05311.16
5.2.80.0130.07011.29
5.2.70.0100.04311.17
5.2.60.0100.04311.22
5.2.50.0000.05711.15
5.2.40.0030.04311.27
5.2.30.0030.04310.91
5.2.20.0030.04311.13
5.2.10.0000.04310.79
5.2.00.0000.04310.91
5.1.60.0100.03010.19
5.1.50.0070.03010.26
5.1.40.0030.03710.24
5.1.30.0070.04010.40
5.1.20.0070.03310.42
5.1.10.0030.05010.16
5.1.00.0070.05010.24
5.0.50.0030.0308.91
5.0.40.0030.0438.59
5.0.30.0070.0438.50
5.0.20.0030.0378.29
5.0.10.0030.0338.30
5.0.00.0070.0508.19
4.4.90.0030.0307.44
4.4.80.0030.0237.44
4.4.70.0030.0277.44
4.4.60.0030.0277.44
4.4.50.0070.0307.44
4.4.40.0100.0337.44
4.4.30.0070.0207.44
4.4.20.0030.0207.44
4.4.10.0030.0237.44
4.4.00.0000.0377.44
4.3.110.0000.0237.44
4.3.100.0030.0237.44
4.3.90.0100.0237.44
4.3.80.0070.0307.44
4.3.70.0030.0277.44
4.3.60.0030.0307.44
4.3.50.0070.0237.44
4.3.40.0070.0437.44
4.3.30.0100.0237.44
4.3.20.0100.0207.44
4.3.10.0000.0237.44
4.3.00.0100.0207.50

preferences:
43.4 ms | 401 KiB | 5 Q