3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array("76","Casio AW-S90-7AV 6 LAT GWARANCJI - WYSYŁKA 24H - infolinia: 500 303 509","147,96748","10"); $filtr1 = "filtr"; $limit = "5"; //czyścimy zbedne znaki z csvki $cena = str_replace(",", ".", $data[2]); // jeśli w cenie jest "," $cena = str_replace(" ", "", $cena); // jeśli w cenie jest " " $ilosc = str_replace(">", "", $data[3]); // jeśli w ilości jest ">" if (((Strpos($data[1],$filtr1,0) !== false) && ($cena != "0.00") && ($ilosc >= $limit)) OR (($filtr1 =="") && ($cena != "0.00") && ($ilosc >= $limit))) { echo 'Niewpisany produkt: indeks - <b>'. $data[0] . '</b> nazwa - <b>'.$data[1] . '</b> cena - <b>'.$cena . '</b> ilość - <b>'.$ilosc . '</b><br />'; // fwrite($writeFd, 'Indeks - '. $data[0] . ' nazwa - '.$data[1] . ' cena - '.$cena . ' ilość - '.$ilosc); // fwrite($writeFd, "\n\r"); // $dopliku++; @ob_flush(); @flush(); } { echo " OK!"; }
Output for git.master, git.master_jit, rfc.property-hooks
OK!

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
33.2 ms | 401 KiB | 8 Q