recent searches:
searching include ,
searching variable ,
searching post...
The PHP 3 debugger protocol is line-based. Each line has a type, and several lines compose a message. Each message starts with a line of the type start and terminates with a line of the type end. PHP 3 may send lines for different messages simultaneously.
A line has this format:
Date in ISO 8601 format (yyyy-mm-dd)
Time including microseconds: hh:mm:uuuuuu
DNS name or IP address of the host where the script error was generated.
PID (process id) on host of the process with the PHP 3 script that generated this error.
Type of line. Tells the receiving program about what it should treat the following data as:
Tabela E-1. Debugger Line Types
| Name | Meaning |
|---|---|
| start | Tells the receiving program that a debugger message starts here. The contents of data will be the type of error message, listed below. |
| message | The PHP 3 error message. |
| location | File name and line number where the error occurred. The first location line will always contain the top-level location. data will contain file:line. There will always be a location line after message and after every function. |
| frames | Number of frames in the following stack dump. If there are four frames, expect information about four levels of called functions. If no "frames" line is given, the depth should be assumed to be 0 (the error occurred at top-level). |
| function | Name of function where the error occurred. Will be repeated once for every level in the function call stack. |
| end | Tells the receiving program that a debugger message ends here. |
Line data.
Tabela E-2. Debugger Error Types
| Debugger | PHP 3 Internal |
|---|---|
| warning | E_WARNING |
| error | E_ERROR |
| parse | E_PARSE |
| notice | E_NOTICE |
| core-error | E_CORE_ERROR |
| core-warning | E_CORE_WARNING |
| unknown | (any other) |
| Poprzedni | Spis treści | Następny |
| Using the Debugger | Początek rozdziału | Extending PHP 3 |
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.
lampy olsztyn Kamery IP praca Rzeszów fotelik chicco optymalizacja kampanii online google adwordsusuwanie zmarszczek, końcówki kolekcji, ogrody włoclawek, Zabawne wypadki, śruby i nakrętki, podatki online, Wyspy Kanaryjskie, lifepac junior