3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rows22['Status2']="PR001:Approved,SA001:Rejected"; $che = "SA001"; if($rows22['Status2'] == "") { $status = ""; } else { $ks = 0; $ched = explode(',',$che); while($ks < sizeof($ched)) { if (strpos($rows22['Status2'],$ched[$ks]) !== false) { $sts = explode(',',$rows22['Status2']); $s = 0; while($s < sizeof($sts)) { if (strpos($sts[$s],$ched[$ks]) !== false) { $sts[$s] = ""; } if($s == 0) $status = $sts[$s]; else { $status = $status.",".$sts[$s]; } $s++; } } else { $status = $rows225['Status2']; } $ks++; } }

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.0130.00618.43
8.3.50.0170.00921.21
8.3.40.0110.01118.86
8.3.30.0070.00720.33
8.3.20.0080.00019.98
8.3.10.0060.00321.92
8.3.00.0050.00222.37
8.2.180.0070.01118.29
8.2.170.0110.00422.96
8.2.160.0070.00720.53
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0110.00826.16
8.2.120.0080.00019.67
8.2.110.0090.00020.99
8.2.100.0110.00017.97
8.2.90.0000.00819.18
8.2.80.0030.00618.03
8.2.70.0070.00417.63
8.2.60.0060.00317.93
8.2.50.0030.00718.10
8.2.40.0040.00420.41
8.2.30.0000.00718.05
8.2.20.0040.00417.83
8.2.10.0070.00017.63
8.2.00.0060.00319.53
8.1.280.0120.00925.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00623.97
8.1.230.0080.00417.77
8.1.220.0030.00617.77
8.1.210.0050.00318.77
8.1.200.0030.00617.48
8.1.190.0030.00717.36
8.1.180.0030.00518.10
8.1.170.0080.00018.66
8.1.160.0000.00722.13
8.1.150.0040.00418.61
8.1.140.0000.00717.37
8.1.130.0060.00317.74
8.1.120.0080.00017.37
8.1.110.0000.00817.32
8.1.100.0050.00217.51
8.1.90.0040.00417.46
8.1.80.0080.00017.49
8.1.70.0050.00217.46
8.1.60.0050.00517.57
8.1.50.0040.00417.52
8.1.40.0030.00517.42
8.1.30.0040.00417.64
8.1.20.0000.00817.65
8.1.10.0040.00417.56
8.1.00.0000.00717.39
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0050.00218.32
8.0.270.0030.00317.13
8.0.260.0000.00716.82
8.0.250.0000.00717.00
8.0.240.0080.00016.82
8.0.230.0040.00416.86
8.0.220.0000.00716.95
8.0.210.0000.00716.79
8.0.200.0030.00316.86
8.0.190.0000.00817.02
8.0.180.0040.00416.95
8.0.170.0050.00316.94
8.0.160.0000.00716.84
8.0.150.0030.00316.74
8.0.140.0050.00316.86
8.0.130.0030.00313.30
8.0.120.0070.00016.88
8.0.110.0040.00416.88
8.0.100.0000.00716.93
8.0.90.0070.00016.84
8.0.80.0070.00816.86
8.0.70.0040.00416.91
8.0.60.0040.00416.89
8.0.50.0000.00716.76
8.0.30.0120.01117.30
8.0.20.0080.01117.40
8.0.10.0070.00017.05
8.0.00.0120.01016.83
7.4.330.0030.00315.00
7.4.320.0030.00316.53
7.4.300.0000.00616.56
7.4.290.0030.00316.43
7.4.280.0000.00816.61
7.4.270.0060.00016.62
7.4.260.0000.00716.47
7.4.250.0050.00216.52
7.4.240.0030.00316.59
7.4.230.0030.00316.63
7.4.220.0090.00616.63
7.4.210.0090.00616.53
7.4.200.0070.00016.69
7.4.190.0070.00016.41
7.4.160.0100.00616.30
7.4.150.0060.01217.40
7.4.140.0090.01117.86
7.4.130.0100.01316.47
7.4.120.0060.01016.49
7.4.110.0070.01016.55
7.4.100.0140.00516.30
7.4.90.0030.01916.54
7.4.80.0030.01419.39
7.4.70.0110.00716.27
7.4.60.0080.00816.38
7.4.50.0030.00316.24
7.4.40.0070.00322.77
7.4.30.0100.00716.52
7.4.00.0060.00914.69
7.3.330.0050.00013.03
7.3.320.0030.00313.32
7.3.310.0000.00716.40
7.3.300.0030.00316.32
7.3.290.0030.01016.36
7.3.280.0080.00816.35
7.3.270.0110.00817.40
7.3.260.0150.01116.37
7.3.250.0150.00216.33
7.3.240.0070.01016.36
7.3.230.0110.00716.44
7.3.210.0130.00716.38
7.3.200.0090.00619.39
7.3.190.0130.01016.29
7.3.180.0080.00816.31
7.3.170.0040.01216.66
7.3.160.0060.01016.49
7.3.120.0030.01315.00
7.3.110.0090.00614.93
7.3.100.0070.00714.75
7.3.90.0070.00714.99
7.3.80.0000.01215.10
7.3.70.0110.00014.93
7.3.60.0040.00714.71
7.3.50.0040.00714.76
7.3.40.0000.01514.77
7.3.30.0080.00314.71
7.3.20.0030.01016.59
7.3.10.0020.00916.68
7.3.00.0060.00516.67
7.2.330.0140.00416.52
7.2.320.0140.00916.37
7.2.310.0090.01316.77
7.2.300.0160.00816.87
7.2.290.0070.01016.49
7.2.240.0030.00715.07
7.2.230.0000.01114.82
7.2.220.0050.00514.90
7.2.210.0100.00615.01
7.2.200.0040.01114.80
7.2.190.0000.01515.00
7.2.180.0040.00714.69
7.2.170.0030.01314.91
7.2.160.0060.00915.00
7.2.150.0000.01316.78
7.2.140.0030.00716.77
7.2.130.0060.00416.68
7.2.120.0070.00616.97
7.2.110.0030.01316.85
7.2.100.0100.00516.85
7.2.90.0060.00716.74
7.2.80.0050.00717.01
7.2.70.0020.01016.76
7.2.60.0040.01116.86
7.2.50.0060.00616.87
7.2.40.0050.00816.96
7.2.30.0030.00916.95
7.2.20.0070.00516.83
7.2.10.0040.00916.84
7.2.00.0050.00917.67
7.1.330.0000.01415.68
7.1.320.0040.01115.89
7.1.310.0070.01015.70
7.1.300.0030.01115.81
7.1.290.0040.00715.81
7.1.280.0120.00015.39
7.1.270.0050.00515.78
7.1.260.0060.00915.77
7.1.250.0060.00615.71
7.1.100.0040.01117.99
7.1.70.0040.00417.30
7.1.60.0070.01819.21
7.1.50.0030.01716.64
7.1.00.0070.06322.36
7.0.200.0190.00614.76
7.0.140.0000.07322.08
7.0.80.0230.08320.02
7.0.70.0070.06020.02
7.0.60.0270.08320.05
7.0.50.0070.07720.26
7.0.40.0030.06020.16
7.0.30.0070.08720.09
7.0.20.0170.06020.00
7.0.10.0030.05020.04
7.0.00.0130.07719.99
5.6.280.0130.06720.98
5.6.230.0070.04720.56
5.6.220.0100.08320.66
5.6.210.0070.08020.46
5.6.200.0070.08320.95
5.6.190.0100.04721.00
5.6.180.0100.07021.03
5.6.170.0070.09021.03
5.6.160.0070.04321.04
5.6.150.0030.07721.10
5.6.140.0030.07721.08
5.6.130.0030.07321.17
5.6.120.0070.05021.00
5.6.110.0070.04721.10
5.6.100.0030.07321.09
5.6.90.0130.07721.05
5.6.80.0100.04020.52
5.6.70.0100.07720.45
5.6.60.0070.07720.30
5.6.50.0100.04720.46
5.6.40.0070.05020.37
5.6.30.0070.04720.36
5.6.20.0000.07320.45
5.6.10.0070.06320.38
5.6.00.0100.06320.46
5.5.370.0000.09020.45
5.5.360.0030.08720.34
5.5.350.0230.07020.45
5.5.340.0070.08020.87
5.5.330.0100.06720.73
5.5.320.0070.07720.83
5.5.310.0100.07720.91
5.5.300.0030.07020.64
5.5.290.0070.08020.71
5.5.280.0070.05720.82
5.5.270.0070.08020.91
5.5.260.0100.08020.86
5.5.250.0100.08320.64
5.5.240.0070.05720.17
5.5.230.0100.07320.21
5.5.220.0070.07720.17
5.5.210.0000.05020.11
5.5.200.0070.04719.98
5.5.190.0070.05720.20
5.5.180.0070.04019.99
5.5.160.0170.06320.10
5.5.150.0100.07320.26
5.5.140.0070.06720.24
5.5.130.0030.04020.10
5.5.120.0070.08020.25
5.5.110.0000.05020.21
5.5.100.0200.06320.13
5.5.90.0130.05020.05
5.5.80.0000.06020.06
5.5.70.0070.08719.96
5.5.60.0030.06020.15
5.5.50.0070.05720.05
5.5.40.0000.06020.14
5.5.30.0000.08719.99
5.5.20.0070.07720.14
5.5.10.0100.05319.97
5.5.00.0100.05719.96
5.4.450.0130.06719.14
5.4.440.0100.06019.42
5.4.430.0200.06719.39
5.4.420.0030.05019.38
5.4.410.0100.07319.17
5.4.400.0130.03319.23
5.4.390.0070.04719.12
5.4.380.0100.04019.12
5.4.370.0100.03719.03
5.4.360.0130.03718.80
5.4.350.0130.04719.05
5.4.340.0030.06018.79
5.4.320.0070.04318.98
5.4.310.0130.04019.14
5.4.300.0100.05018.81
5.4.290.0130.03319.04
5.4.280.0170.06718.94
5.4.270.0100.05019.05
5.4.260.0070.06019.05
5.4.250.0030.06718.93
5.4.240.0100.06318.78
5.4.230.0070.07018.80
5.4.220.0170.07018.89
5.4.210.0070.08019.18
5.4.200.0130.07019.02
5.4.190.0000.06019.02
5.4.180.0170.06719.10
5.4.170.0000.07718.97
5.4.160.0030.08319.09
5.4.150.0100.07019.02
5.4.140.0030.07316.23
5.4.130.0070.07015.99
5.4.120.0100.07016.28
5.4.110.0100.06316.21
5.4.100.0100.03316.30
5.4.90.0070.04316.41
5.4.80.0100.07316.29
5.4.70.0100.07016.34
5.4.60.0030.04016.42
5.4.50.0070.05016.19
5.4.40.0130.04716.43
5.4.30.0170.06316.29
5.4.20.0130.06016.27
5.4.10.0070.07016.30
5.4.00.0030.07315.72
5.3.290.0070.07314.58
5.3.280.0130.07014.59
5.3.270.0130.07014.46
5.3.260.0100.07714.57
5.3.250.0100.07014.55
5.3.240.0000.05314.56
5.3.230.0070.04314.59
5.3.220.0030.07714.43
5.3.210.0070.06014.39
5.3.200.0070.07014.52
5.3.190.0100.04014.55
5.3.180.0100.07014.38
5.3.170.0070.06714.56
5.3.160.0100.04314.38
5.3.150.0070.06714.39
5.3.140.0030.05014.57
5.3.130.0030.08014.51
5.3.120.0100.07014.46
5.3.110.0130.07314.51
5.3.100.0170.06714.00
5.3.90.0100.03013.96
5.3.80.0030.06713.92
5.3.70.0070.05714.02
5.3.60.0070.06313.86
5.3.50.0100.05313.94
5.3.40.0030.07313.93
5.3.30.0070.07013.87
5.3.20.0070.06713.55
5.3.10.0100.06313.49
5.3.00.0030.06713.64
5.2.170.0000.05313.49
5.2.160.0100.03313.49
5.2.150.0030.06313.49
5.2.140.0100.06013.49
5.2.130.0000.06013.49
5.2.120.0000.04313.49
5.2.110.0070.06313.49
5.2.100.0030.05713.49
5.2.90.0070.06013.49
5.2.80.0070.06313.49
5.2.70.0070.06713.49
5.2.60.0070.06313.49
5.2.50.0100.05713.49
5.2.40.0070.03713.49
5.2.30.0030.03313.49
5.2.20.0030.06313.49
5.2.10.0030.05713.49
5.2.00.0030.04013.49
5.1.60.0070.03713.49
5.1.50.0030.03713.49
5.1.40.0070.02313.49
5.1.30.0030.03013.49
5.1.20.0070.05013.49
5.1.10.0030.05713.49
5.1.00.0030.06013.49
5.0.50.0030.04713.49
5.0.40.0000.03013.49
5.0.30.0030.06013.49
5.0.20.0000.04313.49
5.0.10.0070.03313.49
5.0.00.0000.04313.49
4.4.90.0030.03013.49
4.4.80.0070.02313.49
4.4.70.0000.02013.49
4.4.60.0030.03013.49
4.4.50.0000.04013.49
4.4.40.0130.02313.49
4.4.30.0030.03313.49
4.4.20.0030.03313.49
4.4.10.0000.03313.49
4.4.00.0070.04013.49
4.3.110.0030.03313.49
4.3.100.0000.04013.49
4.3.90.0030.03713.49
4.3.80.0000.04013.49
4.3.70.0030.01313.49
4.3.60.0000.02313.49
4.3.50.0030.03313.49
4.3.40.0000.02713.49
4.3.30.0030.02713.49
4.3.20.0000.02313.49
4.3.10.0030.03313.49
4.3.00.0000.03713.49

preferences:
43.06 ms | 404 KiB | 6 Q