recent searches:
searching include ,
searching variable ,
searching post...
preg_grep() returns the array consisting of the elements of the input array that match the given pattern.
flags can be the following flag:
If this flag is passed, preg_grep() returns the elements of the input array that do not match the given pattern. This flag is available since PHP 4.2.0.
Since PHP 4.0.4, the results returned by preg_grep() are indexed using the keys from the input array. If this behavior is undesirable, use array_values() on the array returned by preg_grep() to reindex the values.
| Poprzedni | Spis treści | Następny |
| Pattern Syntax | Początek rozdziału | preg_match_all |
Język PHP to dzisiaj powszechnie przyjęty standard, podstawa tworzenia dynamicznych stron WWW, opartych na bazach danych.
PHP to język skryptowy. Znaczy to, że jest to język nie kompilowalny. Program jest wykonywany przez interpreter na podstawie jego kodu źródłowego. Język PHP to element technologii internetowej SERVER-SIDE. Znaczy to, że kod języka jest wykonywany od strony serwera (na serwerze).
W jakim celu używac PHP? Po co to komu?
Załóżmy, że potrzebujemy takiej strony internetowej, która wyświetli zawsze bieżącą datę. Dzięki technologii PHP, datę i godzinę odczytywać można z miejsca gdzie wykonuje się skrypt, np. gdy serwer znajduje się w USA a my w Polsce to widoczna jest różnica w czasie który zostanie wyświetlony.
medycyna pracy Kursy rachunkowości sprzęt nurkowy biżuteria on line tusz do kresekhurtownia odzieży, przeszczep włosów, statywy manfrotto, konto osobiste opłaty, Projekty Garaży