1/* -----------------------------------------------------------------------------
2 * phpkw.swg
3 * ----------------------------------------------------------------------------- */
4
5#define PHPKW(x) %keywordwarn("'" `x` "' is a PHP keyword, renamed as 'c_" `x` "'",sourcefmt="%(lower)s",rename="c_%s") `x`
6
7#define PHPCN(x) %keywordwarn("'" `x` "' is a PHP reserved class name, class renamed as 'c_" `x` "'",%$isclass,sourcefmt="%(lower)s",rename="c_%s") `x`
8
9#define PHPBN1(x) %builtinwarn("'" `x` "' conflicts with a built-in name in PHP",sourcefmt="%(lower)s") `x`
10#define PHPBN2(x) %builtinwarn("'" `x` "' conflicts with a built-in name in PHP") "::" `x`
11#define PHPFN(x) %keywordwarn("'" `x` "' is a PHP built-in function, renamed as 'c_" `x` "'",sourcefmt="%(lower)s",%$isfunction,%$not %$ismember,rename="c_%s") `x`
12
13/*
14   From
15
16     http://aspn.activestate.com/ASPN/docs/PHP/reserved.html
17     http://php.net/manual/en/reserved.keywords.php
18
19   and reviewed by Olly Betts.
20
21   Further updates from the PHP manual on php.net.
22*/
23
24/* We classify these as kw since PHP will not run if used globally. */
25/* "You cannot use any of the following words as constants, class names,
26 * function or method names. Using them as variable names is generally OK, but
27 * could lead to confusion."
28 */
29/* case insensitive */
30PHPKW(__halt_compiler);
31PHPKW(abstract);
32PHPKW(and);
33PHPKW(array);
34PHPKW(as);
35PHPKW(break);
36PHPKW(case);
37PHPKW(catch);
38PHPKW(class);
39PHPKW(clone);
40PHPKW(const);
41PHPKW(continue);
42PHPKW(declare);
43PHPKW(default);
44PHPKW(die); // "Language construct"
45PHPKW(do);
46PHPKW(echo); // "Language construct"
47PHPKW(else);
48PHPKW(elseif);
49PHPKW(empty); // "Language construct"
50PHPKW(enddeclare);
51PHPKW(endfor);
52PHPKW(endforeach);
53PHPKW(endif);
54PHPKW(endswitch);
55PHPKW(endwhile);
56PHPKW(eval); // "Language construct"
57PHPKW(exit); // "Language construct"
58PHPKW(extends);
59PHPKW(final);
60PHPKW(for);
61PHPKW(foreach);
62PHPKW(function);
63PHPKW(global);
64PHPKW(goto); // As of PHP5.3
65PHPKW(if);
66PHPKW(implements);
67PHPKW(include); // "Language construct"
68PHPKW(include_once); // "Language construct"
69PHPKW(instanceof);
70PHPKW(interface);
71PHPKW(isset); // "Language construct"
72PHPKW(list); // "Language construct"
73PHPKW(namespace); // As of PHP5.3
74PHPKW(new);
75PHPKW(or);
76PHPKW(print); // "Language construct"
77PHPKW(private);
78PHPKW(protected);
79PHPKW(public);
80PHPKW(require); // "Language construct"
81PHPKW(require_once); // "Language construct"
82PHPKW(return); // "Language construct"
83PHPKW(static);
84PHPKW(switch);
85PHPKW(throw);
86PHPKW(try);
87PHPKW(unset); // "Language construct"
88PHPKW(use);
89PHPKW(var);
90PHPKW(while);
91PHPKW(xor);
92// Compile-time constants
93PHPKW(__CLASS__);
94PHPKW(__DIR__); // As of PHP5.3
95PHPKW(__FILE__);
96PHPKW(__FUNCTION__);
97PHPKW(__METHOD__);
98PHPKW(__NAMESPACE__); // As of PHP5.3
99PHPKW(__LINE__);
100
101/* We classify these as built-in names since they conflict, but PHP still runs */
102
103/* Type 1: case insensitive */
104PHPBN1(__sleep);
105PHPBN1(__wakeup);
106PHPBN1(not);
107PHPBN1(parent);
108PHPBN1(virtual);
109PHPBN1(NULL);
110PHPBN1(TRUE);
111PHPBN1(FALSE);
112
113/* Type 2: case sensitive */
114/* "Core Predefined Constants" from http://uk2.php.net/manual/en/reserved.constants.php */
115PHPBN2(E_ALL);
116PHPBN2(E_ERROR);
117PHPBN2(E_PARSE);
118PHPBN2(E_WARNING);
119PHPBN2(E_NOTICE);
120PHPBN2(E_CORE_ERROR);
121PHPBN2(E_CORE_WARNING);
122PHPBN2(E_COMPILE_ERROR);
123PHPBN2(E_COMPILE_WARNING);
124PHPBN2(E_USER_ERROR);
125PHPBN2(E_USER_WARNING);
126PHPBN2(E_USER_NOTICE);
127PHPBN2(E_DEPRECATED); // As of PHP 5.3
128PHPBN2(E_USER_DEPRECATED); // As of PHP 5.3
129PHPBN2(PHP_OS);
130PHPBN2(PHP_VERSION);
131PHPBN2(PHP_SAPI);
132PHPBN2(PHP_EOL);
133PHPBN2(PHP_INT_MAX);
134PHPBN2(PHP_INT_SIZE);
135PHPBN2(DEFAULT_INCLUDE_PATH);
136PHPBN2(PEAR_INSTALL_DIR);
137PHPBN2(PEAR_EXTENSION_DIR);
138PHPBN2(PHP_EXTENSION_DIR);
139PHPBN2(PHP_PREFIX);
140PHPBN2(PHP_BINDIR);
141PHPBN2(PHP_LIBDIR);
142PHPBN2(PHP_DATADIR);
143PHPBN2(PHP_SYSCONFDIR);
144PHPBN2(PHP_LOCALSTATEDIR);
145PHPBN2(PHP_CONFIG_FILE_PATH);
146PHPBN2(PHP_CONFIG_FILE_SCAN_DIR);
147PHPBN2(PHP_SHLIB_SUFFIX);
148PHPBN2(PHP_OUTPUT_HANDLER_START);
149PHPBN2(PHP_OUTPUT_HANDLER_CONT);
150PHPBN2(PHP_OUTPUT_HANDLER_END);
151PHPBN2(PHP_MAXPATHLEN); // As of PHP 5.3
152/* These don't actually seem to be set (tested on Linux, I guess they're
153 * Windows only?) */
154PHPBN2(PHP_WINDOWS_NT_DOMAIN_CONTROLLER); // As of PHP 5.3
155PHPBN2(PHP_WINDOWS_NT_SERVER); // As of PHP 5.3
156PHPBN2(PHP_WINDOWS_NT_WORKSTATION); // As of PHP 5.3
157PHPBN2(PHP_WINDOWS_VERSION_BUILD); // As of PHP 5.3
158PHPBN2(PHP_WINDOWS_VERSION_MAJOR); // As of PHP 5.3
159PHPBN2(PHP_WINDOWS_VERSION_MINOR); // As of PHP 5.3
160PHPBN2(PHP_WINDOWS_VERSION_PLATFORM); // As of PHP 5.3
161PHPBN2(PHP_WINDOWS_VERSION_PRODUCTTYPE); // As of PHP 5.3
162PHPBN2(PHP_WINDOWS_VERSION_SP_MAJOR); // As of PHP 5.3
163PHPBN2(PHP_WINDOWS_VERSION_SP_MINOR); // As of PHP 5.3
164PHPBN2(PHP_WINDOWS_VERSION_SUITEMASK); // As of PHP 5.3
165/* "Standard Predefined Constants" from http://uk2.php.net/manual/en/reserved.constants.php */
166PHPBN2(EXTR_OVERWRITE);
167PHPBN2(EXTR_SKIP);
168PHPBN2(EXTR_PREFIX_SAME);
169PHPBN2(EXTR_PREFIX_ALL);
170PHPBN2(EXTR_PREFIX_INVALID);
171PHPBN2(EXTR_PREFIX_IF_EXISTS);
172PHPBN2(EXTR_IF_EXISTS);
173PHPBN2(SORT_ASC);
174PHPBN2(SORT_DESC);
175PHPBN2(SORT_REGULAR);
176PHPBN2(SORT_NUMERIC);
177PHPBN2(SORT_STRING);
178PHPBN2(CASE_LOWER);
179PHPBN2(CASE_UPPER);
180PHPBN2(COUNT_NORMAL);
181PHPBN2(COUNT_RECURSIVE);
182PHPBN2(ASSERT_ACTIVE);
183PHPBN2(ASSERT_CALLBACK);
184PHPBN2(ASSERT_BAIL);
185PHPBN2(ASSERT_WARNING);
186PHPBN2(ASSERT_QUIET_EVAL);
187PHPBN2(CONNECTION_ABORTED);
188PHPBN2(CONNECTION_NORMAL);
189PHPBN2(CONNECTION_TIMEOUT);
190PHPBN2(INI_USER);
191PHPBN2(INI_PERDIR);
192PHPBN2(INI_SYSTEM);
193PHPBN2(INI_ALL);
194PHPBN2(INI_SCANNER_NORMAL); // As of PHP 5.3
195PHPBN2(INI_SCANNER_RAW); // As of PHP 5.3
196PHPBN2(M_E);
197PHPBN2(M_LOG2E);
198PHPBN2(M_LOG10E);
199PHPBN2(M_LN2);
200PHPBN2(M_LN10);
201PHPBN2(M_PI);
202PHPBN2(M_PI_2);
203PHPBN2(M_PI_4);
204PHPBN2(M_1_PI);
205PHPBN2(M_2_PI);
206PHPBN2(M_2_SQRTPI);
207PHPBN2(M_SQRT2);
208PHPBN2(M_SQRT1_2);
209PHPBN2(M_EULER); // As of PHP 5.2
210PHPBN2(M_LNPI); // As of PHP 5.2
211PHPBN2(M_SQRT3); // As of PHP 5.2
212PHPBN2(M_SQRTPI); // As of PHP 5.2
213PHPBN2(CRYPT_SALT_LENGTH);
214PHPBN2(CRYPT_STD_DES);
215PHPBN2(CRYPT_EXT_DES);
216PHPBN2(CRYPT_MD5);
217PHPBN2(CRYPT_BLOWFISH);
218PHPBN2(DIRECTORY_SEPARATOR);
219PHPBN2(SEEK_SET);
220PHPBN2(SEEK_CUR);
221PHPBN2(SEEK_END);
222PHPBN2(LOCK_SH);
223PHPBN2(LOCK_EX);
224PHPBN2(LOCK_UN);
225PHPBN2(LOCK_NB);
226PHPBN2(HTML_SPECIALCHARS);
227PHPBN2(HTML_ENTITIES);
228PHPBN2(ENT_COMPAT);
229PHPBN2(ENT_QUOTES);
230PHPBN2(ENT_NOQUOTES);
231PHPBN2(INFO_GENERAL);
232PHPBN2(INFO_CREDITS);
233PHPBN2(INFO_CONFIGURATION);
234PHPBN2(INFO_MODULES);
235PHPBN2(INFO_ENVIRONMENT);
236PHPBN2(INFO_VARIABLES);
237PHPBN2(INFO_LICENSE);
238PHPBN2(INFO_ALL);
239PHPBN2(CREDITS_GROUP);
240PHPBN2(CREDITS_GENERAL);
241PHPBN2(CREDITS_SAPI);
242PHPBN2(CREDITS_MODULES);
243PHPBN2(CREDITS_DOCS);
244PHPBN2(CREDITS_FULLPAGE);
245PHPBN2(CREDITS_QA);
246PHPBN2(CREDITS_ALL);
247PHPBN2(STR_PAD_LEFT);
248PHPBN2(STR_PAD_RIGHT);
249PHPBN2(STR_PAD_BOTH);
250PHPBN2(PATHINFO_DIRNAME);
251PHPBN2(PATHINFO_BASENAME);
252PHPBN2(PATHINFO_EXTENSION);
253PHPBN2(PATHINFO_FILENAME); // As of PHP 5.2
254PHPBN2(PATH_SEPARATOR);
255PHPBN2(CHAR_MAX);
256PHPBN2(LC_CTYPE);
257PHPBN2(LC_NUMERIC);
258PHPBN2(LC_TIME);
259PHPBN2(LC_COLLATE);
260PHPBN2(LC_MONETARY);
261PHPBN2(LC_ALL);
262PHPBN2(LC_MESSAGES);
263PHPBN2(ABDAY_1);
264PHPBN2(ABDAY_2);
265PHPBN2(ABDAY_3);
266PHPBN2(ABDAY_4);
267PHPBN2(ABDAY_5);
268PHPBN2(ABDAY_6);
269PHPBN2(ABDAY_7);
270PHPBN2(DAY_1);
271PHPBN2(DAY_2);
272PHPBN2(DAY_3);
273PHPBN2(DAY_4);
274PHPBN2(DAY_5);
275PHPBN2(DAY_6);
276PHPBN2(DAY_7);
277PHPBN2(ABMON_1);
278PHPBN2(ABMON_2);
279PHPBN2(ABMON_3);
280PHPBN2(ABMON_4);
281PHPBN2(ABMON_5);
282PHPBN2(ABMON_6);
283PHPBN2(ABMON_7);
284PHPBN2(ABMON_8);
285PHPBN2(ABMON_9);
286PHPBN2(ABMON_10);
287PHPBN2(ABMON_11);
288PHPBN2(ABMON_12);
289PHPBN2(MON_1);
290PHPBN2(MON_2);
291PHPBN2(MON_3);
292PHPBN2(MON_4);
293PHPBN2(MON_5);
294PHPBN2(MON_6);
295PHPBN2(MON_7);
296PHPBN2(MON_8);
297PHPBN2(MON_9);
298PHPBN2(MON_10);
299PHPBN2(MON_11);
300PHPBN2(MON_12);
301PHPBN2(AM_STR);
302PHPBN2(PM_STR);
303PHPBN2(D_T_FMT);
304PHPBN2(D_FMT);
305PHPBN2(T_FMT);
306PHPBN2(T_FMT_AMPM);
307PHPBN2(ERA);
308PHPBN2(ERA_YEAR);
309PHPBN2(ERA_D_T_FMT);
310PHPBN2(ERA_D_FMT);
311PHPBN2(ERA_T_FMT);
312PHPBN2(ALT_DIGITS);
313PHPBN2(INT_CURR_SYMBOL);
314PHPBN2(CURRENCY_SYMBOL);
315PHPBN2(CRNCYSTR);
316PHPBN2(MON_DECIMAL_POINT);
317PHPBN2(MON_THOUSANDS_SEP);
318PHPBN2(MON_GROUPING);
319PHPBN2(POSITIVE_SIGN);
320PHPBN2(NEGATIVE_SIGN);
321PHPBN2(INT_FRAC_DIGITS);
322PHPBN2(FRAC_DIGITS);
323PHPBN2(P_CS_PRECEDES);
324PHPBN2(P_SEP_BY_SPACE);
325PHPBN2(N_CS_PRECEDES);
326PHPBN2(N_SEP_BY_SPACE);
327PHPBN2(P_SIGN_POSN);
328PHPBN2(N_SIGN_POSN);
329PHPBN2(DECIMAL_POINT);
330PHPBN2(RADIXCHAR);
331PHPBN2(THOUSANDS_SEP);
332PHPBN2(THOUSEP);
333PHPBN2(GROUPING);
334PHPBN2(YESEXPR);
335PHPBN2(NOEXPR);
336PHPBN2(YESSTR);
337PHPBN2(NOSTR);
338PHPBN2(CODESET);
339PHPBN2(LOG_EMERG);
340PHPBN2(LOG_ALERT);
341PHPBN2(LOG_CRIT);
342PHPBN2(LOG_ERR);
343PHPBN2(LOG_WARNING);
344PHPBN2(LOG_NOTICE);
345PHPBN2(LOG_INFO);
346PHPBN2(LOG_DEBUG);
347PHPBN2(LOG_KERN);
348PHPBN2(LOG_USER);
349PHPBN2(LOG_MAIL);
350PHPBN2(LOG_DAEMON);
351PHPBN2(LOG_AUTH);
352PHPBN2(LOG_SYSLOG);
353PHPBN2(LOG_LPR);
354PHPBN2(LOG_NEWS);
355PHPBN2(LOG_UUCP);
356PHPBN2(LOG_CRON);
357PHPBN2(LOG_AUTHPRIV);
358PHPBN2(LOG_LOCAL0);
359PHPBN2(LOG_LOCAL1);
360PHPBN2(LOG_LOCAL2);
361PHPBN2(LOG_LOCAL3);
362PHPBN2(LOG_LOCAL4);
363PHPBN2(LOG_LOCAL5);
364PHPBN2(LOG_LOCAL6);
365PHPBN2(LOG_LOCAL7);
366PHPBN2(LOG_PID);
367PHPBN2(LOG_CONS);
368PHPBN2(LOG_ODELAY);
369PHPBN2(LOG_NDELAY);
370PHPBN2(LOG_NOWAIT);
371PHPBN2(LOG_PERROR);
372
373/* Added in PHP5 */
374PHPBN2(E_STRICT);
375PHPBN2(__COMPILER_HALT_OFFSET__);
376
377/* Added in PHP 5.2 */
378PHPBN2(PREG_BACKTRACK_LIMIT_ERROR);
379PHPBN2(PREG_BAD_UTF8_ERROR);
380PHPBN2(PREG_INTERNAL_ERROR);
381PHPBN2(PREG_NO_ERROR);
382PHPBN2(PREG_RECURSION_LIMIT_ERROR);
383PHPBN2(UPLOAD_ERR_EXTENSION);
384PHPBN2(STREAM_SHUT_RD);
385PHPBN2(STREAM_SHUT_WR);
386PHPBN2(STREAM_SHUT_RDWR);
387PHPBN2(CURLE_FILESIZE_EXCEEDED);
388PHPBN2(CURLE_FTP_SSL_FAILED);
389PHPBN2(CURLE_LDAP_INVALID_URL);
390PHPBN2(CURLFTPAUTH_DEFAULT);
391PHPBN2(CURLFTPAUTH_SSL);
392PHPBN2(CURLFTPAUTH_TLS);
393PHPBN2(CURLFTPSSL_ALL);
394PHPBN2(CURLFTPSSL_CONTROL);
395PHPBN2(CURLFTPSSL_NONE);
396PHPBN2(CURLFTPSSL_TRY);
397PHPBN2(CURLOPT_FTP_SSL);
398PHPBN2(CURLOPT_FTPSSLAUTH);
399PHPBN2(CURLOPT_TCP_NODELAY); // Added in PHP 5.2.1
400PHPBN2(CURLOPT_TIMEOUT_MS); // Added in PHP 5.2.3
401PHPBN2(CURLOPT_CONNECTTIMEOUT_MS); // Added in PHP 5.2.3
402PHPBN2(GMP_VERSION); // Added in PHP 5.2.2
403PHPBN2(SWFTEXTFIELD_USEFONT);
404PHPBN2(SWFTEXTFIELD_AUTOSIZE);
405PHPBN2(SWF_SOUND_NOT_COMPRESSED);
406PHPBN2(SWF_SOUND_ADPCM_COMPRESSED);
407PHPBN2(SWF_SOUND_MP3_COMPRESSED);
408PHPBN2(SWF_SOUND_NOT_COMPRESSED_LE);
409PHPBN2(SWF_SOUND_NELLY_COMPRESSED);
410PHPBN2(SWF_SOUND_5KHZ);
411PHPBN2(SWF_SOUND_11KHZ);
412PHPBN2(SWF_SOUND_22KHZ);
413PHPBN2(SWF_SOUND_44KHZ);
414PHPBN2(SWF_SOUND_8BITS);
415PHPBN2(SWF_SOUND_16BITS);
416PHPBN2(SWF_SOUND_MONO);
417PHPBN2(SWF_SOUND_STEREO);
418PHPBN2(OPENSSL_VERSION_NUMBER);
419PHPBN2(SNMP_OID_OUTPUT_FULL);
420PHPBN2(SNMP_OID_OUTPUT_NUMERIC);
421PHPBN2(MSG_EAGAIN);
422PHPBN2(MSG_ENOMSG);
423
424/* Added in PHP 5.3 */
425PHPBN2(CURLOPT_PROGRESSFUNCTION);
426PHPBN2(IMG_FILTER_PIXELATE);
427PHPBN2(JSON_ERROR_CTRL_CHAR);
428PHPBN2(JSON_ERROR_DEPTH);
429PHPBN2(JSON_ERROR_NONE);
430PHPBN2(JSON_ERROR_STATE_MISMATCH);
431PHPBN2(JSON_ERROR_SYNTAX);
432PHPBN2(JSON_FORCE_OBJECT);
433PHPBN2(JSON_HEX_TAG);
434PHPBN2(JSON_HEX_AMP);
435PHPBN2(JSON_HEX_APOS);
436PHPBN2(JSON_HEX_QUOT);
437PHPBN2(LDAP_OPT_NETWORK_TIMEOUT);
438PHPBN2(LIBXML_LOADED_VERSION);
439PHPBN2(PREG_BAD_UTF8_OFFSET_ERROR);
440PHPBN2(BUS_ADRALN);
441PHPBN2(BUS_ADRERR);
442PHPBN2(BUS_OBJERR);
443PHPBN2(CLD_CONTIUNED);
444PHPBN2(CLD_DUMPED);
445PHPBN2(CLD_EXITED);
446PHPBN2(CLD_KILLED);
447PHPBN2(CLD_STOPPED);
448PHPBN2(CLD_TRAPPED);
449PHPBN2(FPE_FLTDIV);
450PHPBN2(FPE_FLTINV);
451PHPBN2(FPE_FLTOVF);
452PHPBN2(FPE_FLTRES);
453PHPBN2(FPE_FLTSUB);
454PHPBN2(FPE_FLTUND);
455PHPBN2(FPE_INTDIV);
456PHPBN2(FPE_INTOVF);
457PHPBN2(ILL_BADSTK);
458PHPBN2(ILL_COPROC);
459PHPBN2(ILL_ILLADR);
460PHPBN2(ILL_ILLOPC);
461PHPBN2(ILL_ILLOPN);
462PHPBN2(ILL_ILLTRP);
463PHPBN2(ILL_PRVOPC);
464PHPBN2(ILL_PRVREG);
465PHPBN2(POLL_ERR);
466PHPBN2(POLL_HUP);
467PHPBN2(POLL_IN);
468PHPBN2(POLL_MSG);
469PHPBN2(POLL_OUT);
470PHPBN2(POLL_PRI);
471PHPBN2(SEGV_ACCERR);
472PHPBN2(SEGV_MAPERR);
473PHPBN2(SI_ASYNCIO);
474PHPBN2(SI_KERNEL);
475PHPBN2(SI_MESGQ);
476PHPBN2(SI_NOINFO);
477PHPBN2(SI_QUEUE);
478PHPBN2(SI_SIGIO);
479PHPBN2(SI_TIMER);
480PHPBN2(SI_TKILL);
481PHPBN2(SI_USER);
482PHPBN2(SIG_BLOCK);
483PHPBN2(SIG_SETMASK);
484PHPBN2(SIG_UNBLOCK);
485PHPBN2(TRAP_BRKPT);
486PHPBN2(TRAP_TRACE);
487
488/* Class names reserved by PHP */
489/* case insensitive */
490PHPCN(stdclass);
491PHPCN(__php_incomplete_class);
492PHPCN(directory);
493/* Added in PHP5 (this list apparently depends which extensions you load by default). */
494PHPCN(parent);
495PHPCN(self);
496PHPCN(exception);
497PHPCN(php_user_filter);
498PHPCN(errorexception);
499PHPCN(xmlwriter);
500PHPCN(libxmlerror);
501PHPCN(simplexmlelement);
502PHPCN(soapclient);
503PHPCN(soapvar);
504PHPCN(soapserver);
505PHPCN(soapfault);
506PHPCN(soapparam);
507PHPCN(soapheader);
508PHPCN(recursiveiteratoriterator);
509PHPCN(filteriterator);
510PHPCN(recursivefilteriterator);
511PHPCN(parentiterator);
512PHPCN(limititerator);
513PHPCN(cachingiterator);
514PHPCN(recursivecachingiterator);
515PHPCN(iteratoriterator);
516PHPCN(norewinditerator);
517PHPCN(appenditerator);
518PHPCN(infiniteiterator);
519PHPCN(emptyiterator);
520PHPCN(arrayobject);
521PHPCN(arrayiterator);
522PHPCN(recursivearrayiterator);
523PHPCN(splfileinfo);
524PHPCN(directoryiterator);
525PHPCN(recursivedirectoryiterator);
526PHPCN(splfileobject);
527PHPCN(spltempfileobject);
528PHPCN(simplexmliterator);
529PHPCN(logicexception);
530PHPCN(badfunctioncallexception);
531PHPCN(badmethodcallexception);
532PHPCN(domainexception);
533PHPCN(invalidargumentexception);
534PHPCN(lengthexception);
535PHPCN(outofrangeexception);
536PHPCN(runtimeexception);
537PHPCN(outofboundsexception);
538PHPCN(overflowexception);
539PHPCN(rangeexception);
540PHPCN(underflowexception);
541PHPCN(unexpectedvalueexception);
542PHPCN(splobjectstorage);
543PHPCN(reflectionexception);
544PHPCN(reflection);
545PHPCN(reflectionfunction);
546PHPCN(reflectionparameter);
547PHPCN(reflectionmethod);
548PHPCN(reflectionclass);
549PHPCN(reflectionobject);
550PHPCN(reflectionproperty);
551PHPCN(reflectionextension);
552PHPCN(domexception);
553PHPCN(domstringlist);
554PHPCN(domnamelist);
555PHPCN(domimplementationlist);
556PHPCN(domimplementationsource);
557PHPCN(domimplementation);
558PHPCN(domnode);
559PHPCN(domnamespacenode);
560PHPCN(domdocumentfragment);
561PHPCN(domdocument);
562PHPCN(domnodelist);
563PHPCN(domnamednodemap);
564PHPCN(domcharacterdata);
565PHPCN(domattr);
566PHPCN(domelement);
567PHPCN(domtext);
568PHPCN(domcomment);
569PHPCN(domtypeinfo);
570PHPCN(domuserdatahandler);
571PHPCN(domdomerror);
572PHPCN(domerrorhandler);
573PHPCN(domlocator);
574PHPCN(domconfiguration);
575PHPCN(domcdatasection);
576PHPCN(domdocumenttype);
577PHPCN(domnotation);
578PHPCN(domentity);
579PHPCN(domentityreference);
580PHPCN(domprocessinginstruction);
581PHPCN(domstringextend);
582PHPCN(domxpath);
583PHPCN(xmlreader);
584PHPCN(sqlitedatabase);
585PHPCN(sqliteresult);
586PHPCN(sqliteunbuffered);
587PHPCN(sqliteexception);
588PHPCN(datetime);
589
590/* Built-in PHP functions (incomplete). */
591PHPFN(cos);
592PHPFN(sin);
593PHPFN(tan);
594PHPFN(acos);
595PHPFN(asin);
596PHPFN(atan);
597PHPFN(atan2);
598PHPFN(cosh);
599PHPFN(sinh);
600PHPFN(tanh);
601PHPFN(exp);
602PHPFN(log);
603PHPFN(log10);
604PHPFN(pow);
605PHPFN(sqrt);
606PHPFN(ceil);
607PHPFN(floor);
608PHPFN(fmod);
609PHPFN(min);
610PHPFN(max);
611
612#undef PHPKW
613#undef PHPBN1
614#undef PHPBN2
615#undef PHPCN
616#undef PHPFN
617