mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Commit some generated files to make it easier to get up&running
These are all overwritten by the rsync box by executing PhD (docs) & scripts/update-backend (in the master repo)
This commit is contained in:
7
backend/ip-to-country.db
Normal file
7
backend/ip-to-country.db
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
* DO NOTE MODIFY THIS FILE
|
||||
* This file is automagically generated, and overwritten,
|
||||
* by the rsync box. It is only included in this repo to simplify getting
|
||||
* up and running on your localhost without needing to generate all this
|
||||
* yourself from master.
|
||||
*/
|
||||
8
backend/ip-to-country.idx
Normal file
8
backend/ip-to-country.idx
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
* DO NOTE MODIFY THIS FILE
|
||||
* This file is automagically generated, and overwritten,
|
||||
* by the rsync box. It is only included in this repo to simplify getting
|
||||
* up and running on your localhost without needing to generate all this
|
||||
* yourself from master.
|
||||
*/
|
||||
|
||||
3
backend/notes/05/05d3e821117f7264
Normal file
3
backend/notes/05/05d3e821117f7264
Normal file
@@ -0,0 +1,3 @@
|
||||
110449|context.http|100|1350999690|vchampion at gmail dot com|SWYgeW91IHVzZSB0aGUgcHJveHkgc2VydmVyIGFuZCBlbmNvdW50ZXIgYW4gZXJyb3IgImZvcGVuKGh0dHA6Ly9leGFtcGxlLmNvbSk6IGZhaWxlZCB0byBvcGVuIHN0cmVhbTogSFRUUCByZXF1ZXN0IGZhaWxlZCEgSFRUUC8xLjAgNDAwIEJhZCBSZXF1ZXN0IiBub3RlIHRoYXQgaW4gbWFueSBzaXR1YXRpb25zIHlvdSBuZWVkIGFsc28gc2V0IHRoZSBwYXJhbWV0ZXIgInJlcXVlc3RfZnVsbHVyaSIgdG8gInRydWUiIGluIHlvdXIgc3RyZWFtIG9wdGlvbnMuIFdpdGhvdXQgdGhpcyBvcHRpb24gdGhlIHBocCBzY3JpcHQgc2VuZHMgdGhlIGVtcHR5IHJlcXVlc3QgdG8gdGhlIHNlcnZlciBhcyAiR0VUIC8gSFRUUC8wLjAiIGFuZCB0aGUgcHJveHkgc2VydmVyIHJlcGxpZXMgdG8gaXQgd2l0aCB0aGUgIkhUVFAgNDAwIiBlcnJvci4gDQoNCkZvciBleGFtcGxlICh3b3JraW5nIHNhbXBsZSk6IA0KPD9waHANCiRzdHJlYW0gPSBzdHJlYW1fY29udGV4dF9jcmVhdGUoQXJyYXkoImh0dHAiID0+IEFycmF5KCJtZXRob2QiICA9PiAiR0VUIiwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ0aW1lb3V0IiA9PiAyMCwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJoZWFkZXIiICA9PiAiVXNlci1hZ2VudDogTXlhZ2VudCIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicHJveHkiICAgPT4gInRjcDovL215LXByb3h5LmxvY2FsbmV0OjMxMjgiLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3JlcXVlc3RfZnVsbHVyaScgPT4gVHJ1ZSAvKiB3aXRob3V0IHRoaXMgb3B0aW9uIHdlIGdldCBhbiBIVFRQIGVycm9yISAqLw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApKSk7DQoNCmlmICggJGZwID0gZm9wZW4oImh0dHA6Ly9leGFtcGxlLmNvbSIsICdyJywgZmFsc2UsICRzdHJlYW0pICkgew0KICAgIHByaW50ICJ3ZWxsIGRvbmUiOw0KfQ0KPz4NCg0KUD5TPiBQSFAgNS4zLjE3|4|0
|
||||
101933|context.http|40|1295381378|gourav sarkar|d2F0Y2ggeW91ciBjYXNlIHdoZW4gdXNpbmcgbWV0aG9kcyAoUE9TVCBhbmQgR0VUKS4uLml0IG11c3QgYmUgYWx3YXlzIHVwcGVyY2FzZS4gaW4gY2FzZSBvZiB5b3Ugd3JpdGUgaXQgaW4gbG93ZXIgY2FzZSBpdCB3b250IHdvcmsu|2|3
|
||||
95146|context.http|33|1260868435|TxRx|Tm90ZSB0aGF0IGlmIHRoZSBzZXJ2ZXIgaXMgbm90IGFibGUgdG8gJ2dldGFkZHJlc3NlcycgY2hhbmdlIHRoZSBuYW1lIHRvIGFuIGlwIGFkZHJlc3MgYW5kIHRoYXQnbGwgc29ydCB0aGF0IG91dCBmb3IgaW50ZXJuYWwgbG9va2luZyBjYWxscyBhbmQgcG9zdHMu|1|2
|
||||
20
backend/notes/32/32fe47e7daae7ea6
Normal file
20
backend/notes/32/32fe47e7daae7ea6
Normal file
@@ -0,0 +1,20 @@
|
||||
113368|language.exceptions|0|1380725451|cyrus+php at boadway dot ca|VGhlcmUncyBzb21lIGluY29uc2lzdGVudCBiZWhhdmlvdXIgYXNzb2NpYXRlZCB3aXRoIFBIUCA1LjUuMydzIGZpbmFsbHkgYW5kIHJldHVybiBzdGF0ZW1lbnRzLiBJZiBhIG1ldGhvZCByZXR1cm5zIGEgdmFyaWFibGUgaW4gYSB0cnkgYmxvY2sgKGUuZy4gcmV0dXJuICRmb287KSwgYW5kIGZpbmFsbHkgbW9kaWZpZXMgdGhhdCB2YXJpYWJsZSwgdGhlIC9tb2RpZmllZC8gdmFsdWUgaXMgcmV0dXJuZWQuIEhvd2V2ZXIsIGlmIHRoZSB0cnkgYmxvY2sgaGFzIGEgcmV0dXJuIHRoYXQgaGFzIHRvIGJlIGV2YWx1YXRlZCBpbi1saW5lIChlLmcuIHJldHVybiAkZm9vKzA7KSwgZmluYWxseSdzIGNoYW5nZXMgdG8gJGZvbyB3aWxsIC9ub3QvIGFmZmVjdCB0aGUgcmV0dXJuIHZhbHVlLgoKW2NvZGVdCmZ1bmN0aW9uIHJldHVyblZhcmlhYmxlKCl7CgkkZm9vID0gMTsKCXRyeXsKCQlyZXR1cm4gJGZvbzsKCX0gZmluYWxseSB7CgkJJGZvbysrOwoJfQp9CgpmdW5jdGlvbiByZXR1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0aW9uIGZvbygpewogICAgdGhyb3cgbmV3IFxFeGNlcHRpb24oIlNvbWV0aGluZyBpcyB3cm9uZyEiKTsKICAgIC8vIHRocm93IG5ldyBFeGNlcHRpb24oIiIpOyB3aWxsIGZhaWwKfQoKdHJ5IHsKICAgIGZvbygpOwp9IGNhdGNoKCBcRXhjZXB0aW9uICRlICkgewogICAgLy8gY2F0Y2goIEV4Y2VwdGlvbiAkZSApIHdpbGwgZ2l2ZSBubyB3YXJuaW5nLCBidXQgd2lsbCBub3QgY2F0Y2ggRXhjZXB0aW9uCiAgICBlY2hvICJFUlJPUjogJGUiOwp9Cgo/Pg==||
|
||||
112529|language.exceptions|0|1372255703|sander at rotorsolutions dot nl|SnVzdCBhbiBleGFtcGxlIHdoeSBmaW5hbGx5IGJsb2NrcyBhcmUgdXNlZnVsbCAoNS41KQoKPD9waHAKCi8vd2l0aG91dCBjYXRjaApmdW5jdGlvbiBleGFtcGxlKCkgewogIHRyeSB7CiAgICAvL2RvIHNvbWV0aGluZyB0aGF0IHRocm93cyBhbiBleGVwdGlvbgogIH0KICBmaW5hbGx5IHsKICAgIC8vdGhpcyBjb2RlIHdpbGwgYmUgZXhlY3V0ZWQgZXZlbiB3aGVuIHRoZSBleGNlcHRpb24gaXMgZXhlY3V0ZWQKICB9Cn0KCmZ1bmN0aW9uIGV4YW1wbGUyKCkgewogIHRyeSB7CiAgICAgLy9vcGVuIHNxbCBjb25uZWN0aW9uIGNoZWNrIHVzZXIgYXMgZXhhbXBsZQogICAgIGlmKGNvbmRpdGlvbikgeyAKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgfQogIH0KICBmaW5hbGx5IHsKICAgIC8vY2xvc2UgdGhlIHNxbCBjb25uZWN0aW9uLCB0aGlzIHdpbGwgYmUgZXhlY3V0ZWQgZXZlbiBpZiB0aGUgcmV0dXJuIGlzIGNhbGxlZC4KICB9Cn0=||
|
||||
112528|language.exceptions|0|1372255600|sander at rotorsolutions dot nl|SnVzdCBhbiBleG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zZXIgYXMgZXhhbXBsZQogICAgIGlmKGNvbmRpdGlvbikgeyAKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgfQogIH0KICBmaW5hbGx5IHsKICAgIC8vY2xvc2UgdGhlIHNxbCBjb25uZWN0aW9uLCB0aGlzIHdpbGwgYmUgZXhlY3V0ZWQgZXZlbiBpZiB0aGUgcmV0dXJuIGlzIGNhbGxlZC4KICB9Cn0KCj8+|7|3
|
||||
112507|language.exceptions|60|1372097614|Edu|VGhlICJmaW5hbGx5IiBibG9jayBjYW4gY2hhbmdlIHRoZSBleGNlcHRpb24gdGhhdCBoYXMgYmVlbiB0aHJvdyBieSB0aGUgY2F0Y2ggYmxvY2suCgo8P3BocAp0cnl7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIHRocm93IG5ldyBcRXhjZXB0aW9uKCJIZWxsbyIpOwogICAgICAgIH0gY2F0Y2goXEV4Y2VwdGlvbiAkZSkgewogICAgICAgICAgICAgICAgZWNobyAkZS0+Z2V0TWVzc2FnZSgpLiIgY2F0Y2ggaW5cbiI7CiAgICAgICAgICAgICAgICB0aHJvdyAkZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICAgICAgZWNobyAkZS0+Z2V0TWVzc2FnZSgpLiIgZmluYWxseSBcbiI7CiAgICAgICAgICAgICAgICB0aHJvdyBuZXcgXEV4Y2VwdGlvbigiQnllIik7CiAgICAgICAgfQp9IGNhdGNoIChcRXhjZXB0aW9uICRlKSB7CiAgICAgICAgZWNobyAkZS0+Z2V0TWVzc2FnZSgpLiIgY2F0Y2ggb3V0XG4iOwp9Cj8+CgpUaGUgb3V0cHV0IGlzOgoKSGVsbG8gY2F0Y2ggaW4KSGVsbG8gZmluYWxseSAKQnllIGNhdGNoIG91dA==|3|2
|
||||
106696|language.exceptions|60|1322516160|Sawsan|dGhlIGZvbGxvd2luZyBpcyBhbiBleGFtcGxlIG9mIGEgcmUtdGhyb3duIGV4Y2VwdGlvbiBhbmQgdGhlIHVzaW5nIG9mIGdldFByZXZpb3VzIGZ1bmN0aW9uOgoKPD9waHAKCiRuYW1lID0gIk5hbWUiOwoKLy9jaGVjayBpZiB0aGUgbmFtZSBjb250YWlucyBvbmx5IGxldHRlcnMsIGFuZCBkb2VzIG5vdCBjb250YWluIHRoZSB3b3JkIG5hbWUKCnRyeQogICB7CiAgIHRyeQogICAgIHsKICAgICAgaWYgKHByZWdfbWF0Y2goJy9bXmEtel0vaScsICRuYW1lKSkgCiAgICAgICB7CiAgICAgICAgICAgdGhyb3cgbmV3IEV4Y2VwdGlvbigiJG5hbWUgY29udGFpbnMgY2hhcmFjdGVyIG90aGVyIHRoYW4gYS16IEEtWiIpOwogICAgICAgfSAgIAogICAgICAgaWYoc3RycG9zKHN0cnRvbG93ZXIoJG5hbWUpLCAnbmFtZScpICE9PSBGQUxTRSkKICAgICAgIHsKICAgICAgICAgIHRocm93IG5ldyBFeGNlcHRpb24oIiRuYW1lIGNvbnRhaW5zIHRoZSB3b3JkIG5hbWUiKTsKICAgICAgIH0KICAgICAgIGVjaG8gIlRoZSBOYW1lIGlzIHZhbGlkIjsKICAgICB9CiAgIGNhdGNoKEV4Y2VwdGlvbiAkZSkKICAgICB7CiAgICAgdGhyb3cgbmV3IEV4Y2VwdGlvbigiaW5zZXJ0IG5hbWUgYWdhaW4iLDAsJGUpOwogICAgIH0KICAgfQogCmNhdGNoIChFeGNlcHRpb24gJGUpCiAgIHsKICAgaWYgKCRlLT5nZXRQcmV2aW91cygpKQogICB7CiAgICBlY2hvICJUaGUgUHJldmlvdXMgRXhjZXB0aW9uIGlzOiAiLiRlLT5nZXRQcmV2aW91cygpLT5nZXRNZXNzYWdlKCkuIjxici8+IjsKICAgfQogICBlY2hvICJUaGUgRXhjZXB0aW9uIGlzOiAiLiRlLT5nZXRNZXNzYWdlKCkuIjxici8+IjsKICAgfQoKID8+|3|2
|
||||
105102|language.exceptions|64|1311769223|alex dowgailenko [at] g mail . com|SWYgeW91IHVzZSB0aGUg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uIHRvIGEgbmV3IG9uZSwgdGhlIHByZXZpb3VzIGV4Y2VwdGlvbidzIHN0YWNrIHRyYWNlIGlzIHRha2VuIGludG8gYWNjb3VudCBpbiB0aGUgbmV3IGV4Y2VwdGlvbi4=|7|4
|
||||
103819|language.exceptions|77|1304558331|Johan|Q3VzdG9tIGVycm9yIGhhbmRsaW5nIG9uIGVudGlyZSBwYWdlcyBjYW4gYXZvaWQgaGFsZiByZW5kZXJlZCBwYWdlcyBmb3IgdGhlIHVzZXJzOgoKPD9waHAKb2Jfc3RhcnQoKTsKdHJ5IHsKCS8qY29udGFpbnMgYWxsIHBhZ2UgbG9naWMgCglhbmQgdGhyb3dzIGVycm9yIGlmIG5lZWRlZCovCgkuLi4KfSBjYXRjaCAoRXhjZXB0aW9uICRlKSB7CiAgb2JfZW5kX2NsZWFuKCk7CiAgZGlzcGxheUVycm9yUGFnZSgkZS0+Z2V0TWVzc2FnZSgpKTsKfQo/Pg==|33|10
|
||||
97963|language.exceptions|60|1274187958|zmunoz at gmail dot com|V2hlbiBjYXRjaGluZyBhbiBleGNlcHRpb24gaW5zaWRlIGEgbmFtZXNwYWNlIGl0IGlzIGltcG9ydGFudCB0aGF0IHlvdSBlc2NhcGUgdG8gdGhlIGdsb2JhbCBzcGFjZToKCjw/cGhwCiBuYW1lc3BhY2UgU29tZU5hbWVzcGFjZTsKCiBjbGFzcyBTb21lQ2xhc3MgewoKICBmdW5jdGlvbiBTb21lRnVuY3Rpb24oKSB7CiAgIHRyeSB7CiAgICB0aHJvdyBuZXcgRXhjZXB0aW9uKCdTb21lIEVycm9yIE1lc3NhZ2UnKTsKICAgfSBjYXRjaCAoXEV4Y2VwdGlvbiAkZSkgewogICAgdmFyX2R1bXAoJGUtPmdldE1lc3NhZ2UoKSk7CiAgIH0KICB9CgogfQo/Pg==|3|2
|
||||
97255|language.exceptions|33|1270888691|mike at clove dot com|VGhlIFBIUCBkb2N1bWVudGF0aW9uIGhhcyBnb25lIGZyb20gdmVyeSB1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BwdWJsaWMgZnVuY3Rpb24gX190b1N0cmluZygpOyAgICAgICAgICAgICAgICAgLy8gZm9ybWF0ZWQgc3RyaW5nIGZvciBkaXNwbGF5CiAgICBwdWJsaWMgZnVuY3Rpb24gX19jb25zdHJ1Y3QoJG1lc3NhZ2UgPSBudWxsLCAkY29kZSA9IDApOwp9CgphYnN0cmFjdCBjbGFzcyBDdXN0b21FeGNlcHRpb24gZXh0ZW5kcyBFeGNlcHRpb24gaW1wbGVtZW50cyBJRXhjZXB0aW9uCnsKICAgIHByb3RlY3RlZCAkbWVzc2FnZSA9ICdVbmtub3duIGV4Y2VwdGlvbic7ICAgICAvLyBFeGNlcHRpb24gbWVzc2FnZQogICAgcHJpdmF0ZSAgICRzdHJpbmc7ICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFVua25vd24KICAgIHByb3RlY3RlZCAkY29kZSAgICA9IDA7ICAgICAgICAgICAgICAgICAgICAgICAvLyBVc2VyLWRlZmluZWQgZXhjZXB0aW9uIGNvZGUKICAgIHByb3RlY3RlZCAkZmlsZTsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBTb3VyY2UgZmlsZW5hbWUgb2YgZXhjZXB0aW9uCiAgICBwcm90ZWN0ZWQgJGxpbmU7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gU291cmNlIGxpbmUgb2YgZXhjZXB0aW9uCiAgICBwcml2YXRlICAgJHRyYWNlOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gVW5rbm93bgoKICAgIHB1YmxpYyBmdW5jdGlvbiBfX2NvbnN0cnVjdCgkbWVzc2FnZSA9IG51bGwsICRjb2RlID0gMCkKICAgIHsKICAgICAgICBpZiAoISRtZXNzYWdlKSB7CiAgICAgICAgICAgIHRocm93IG5ldyAkdGhpcygnVW5rbm93biAnLiBnZXRfY2xhc3MoJHRoaXMpKTsKICAgICAgICB9CiAgICAgICAgcGFyZW50OjpfX2NvbnN0cnVjdCgkbWVzc2FnZSwg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aGluZyB0aGUgdGhyb3duIGV4Y2VwdGlvbuKAmXMgY2xhc3MgaXMgbm90IHByZXNlbnTigJkgKGFuZCB0aGUgc2Vjb25kIHNlbnRlbmNlIGlzIGFjdHVhbGx5IGNvcnJlY3QpLg==|7|4
|
||||
81960|language.exceptions|71|1206071057|michael dot ochs at gmx dot net|QWN0dWFsbHkgaXQgaXNuJ3QgcG9zc2libGUgdG8gZG86Cjw/cGhwCnNvbWVGdW5jdGlvbigpIE9SIHRocm93IG5ldyBFeGNlcHRpb24oKTsKPz4KClRoaXMgbGVhZHMgdG8gYSBUX1RIUk9XIFN5bnRheCBFcnJvci4gSWYgeW91IHdhbnQgdG8gdXNlIHRoaXMga2luZCBvZiBleGNlcHRpb25zLCB5b3UgY2FuIGRvIHRoZSBmb2xsb3dpbmc6Cgo8P3BocApmdW5jdGlvbiB0aHJvd0V4Y2VwdGlvbigkbWVzc2FnZSA9IG51bGwsJGNvZGUgPSBudWxsKSB7Cgl0aHJvdyBuZXcgRXhjZXB0aW9uKCRtZXNzYWdlLCRjb2RlKTsKfQoKc29tZUZ1bmN0aW9uKCkgT1IgdGhyb3dFeGNlcHRpb24oKTsKPz4=|15|6
|
||||
81603|language.exceptions|50|1204713602|chugadie dot geo at yahoo dot com|QHdlYm1hc3RlciBhdCBhc3lsdW0tZXQgZG90IGNvbQoKV2hhdCBNbyBpcyBkZXNjcmliaW5nIGlzIGJ1ZyA0NDA1MyAoaHR0cDovL2J1Z3MucGhwLm5ldC9idWcucGhwP2lkPTQ0MDUzKSBpbiB3aGljaCBleGNlcHRpb25zIGNhbm5vdCBiZSBjYXVnaHQgaWYgeW91IGFyZSB1c2luZyBhIGN1c3RvbSBlcnJvciBoYW5kbGVyIHRvIGNhdGNoIHdhcm5pbmdzLCBub3RpY2VzLCBldGMu|1|1
|
||||
79577|language.exceptions|50|1196737889|omnibus at omnibus dot edu dot pl|SnVzdCB0byBiZSBtb3JlIHByZWNpc2UgaW4gd2hhdCBGcmFuayBmb3Vu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G8gZXhjZXB0aW9uczoKCjw/cGhwCmZ1bmN0aW9uIGV4Y2VwdGlvbnNfZXJyb3JfaGFuZGxlcigkc2V2ZXJpdHksICRtZXNzYWdlLCAkZmlsZW5hbWUsICRsaW5lbm8pIHsgCiAgICB0aHJvdyBuZXcgRXJyb3JFeGNlcHRpb24oJG1lc3NhZ2UsIDAsICRzZXZlcml0eSwgJGZpbGVuYW1lLCAkbGluZW5vKTsgCn0KCnNldF9lcnJvcl9oYW5kbGVyKCdleGNlcHRpb25zX2Vycm9yX2hhbmRsZXInKTsKPz4KCkhvd2V2ZXIgc2luY2UgPD9waHAgc2V0X2Vycm9yX2hhbmRsZXIoKT8+IGRvZXNuJ3Qgd29yayB3aXRoIGZhdGFsIGVycm9ycywgeW91IHdpbGwgbm90IGJlIGFibGUgdG8gdGhyb3cgdGhlbSBhcyBFeGNlcHRpb25zLg==|2|2
|
||||
1
backend/notes/b2/b29d6123c4ac9653
Normal file
1
backend/notes/b2/b29d6123c4ac9653
Normal file
@@ -0,0 +1 @@
|
||||
110197|class.exception|67|1348861250|altieresdelsent at gmail dot com|d2hlbiB5b3UgYXJlIHVzaW5nIHhkZWJ1ZywgZXhjZXB0aW9ucyBtZXNzYWdlIHdpbGwgbmV2ZXIgYmUgc2hvd24gaWYgeW91IHVzZSBhbnkgZW5jb2RpbmcgZGlmZmVyZW50IHRoYW4gVVRGLTgsIHNvIGlmIHlvdSBhcmUgdXNpbmcgYW55IGRhdGFiYXNlIHdpdGggdHJhbnNsYXRlZCBtZXNzYWdlcyBsaWtlIG9yYWNsZSwgeW91IHNob3VsZCBBTFdBWVMsIGFsd2F5cywgdGhyb3cgYSBleGNlcHRpb24gbGlrZSB0aGlzIAoKdGhyb3cgbmV3IEV4Y2VwdGlvbih1dGY4X2VuY29kZSgkbWVzc2FnZSksJGNvZGUpLCBjaGFyYWN0ZXIgbGlrZSDDoyzDqSzDpywgd2lsbCBtYWtlIHRoZSBleGNlcHRpb24gbWVzc2FnZSBmYWlsIHRvIGJlIHNob3duLCBpZiB5b3UgYXJlIG5vdCB1c2luZyB4ZGVidWcgKCBJIGRvIHRoaW5rIHlvdSBzaG91bGQgYXQgbGVhc3QgdHJ5KSwgdGhpcyBjb2RlIHdpbGwgbm90IGFmZmVjdCB5b3VyIHBhZ2Uu|6|3
|
||||
46
backend/notes/d7/d7742c269d23ea86
Normal file
46
backend/notes/d7/d7742c269d23ea86
Normal file
File diff suppressed because one or more lines are too long
28
include/last_updated.inc
Normal file
28
include/last_updated.inc
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* DO NOTE MODIFY THIS FILE
|
||||
* This file is automagically generated, and overwritten,
|
||||
* by the rsync box. It is only included in this repo to simplify getting
|
||||
* up and running on your localhost without needing to generate all this
|
||||
* yourself from master.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$LAST_UPDATED=time();
|
||||
|
||||
414
include/mirrors.inc
Normal file
414
include/mirrors.inc
Normal file
@@ -0,0 +1,414 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* DO NOTE MODIFY THIS FILE
|
||||
* This file is automagically generated, and overwritten,
|
||||
* by the rsync box. It is only included in this repo to simplify getting
|
||||
* up and running on your localhost without needing to generate all this
|
||||
* yourself from master.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
Structure of an element of the $MIRRORS array:
|
||||
|
||||
0 Country code
|
||||
1 Provider name
|
||||
2 Local stats flag (TRUE / FALSE)
|
||||
3 Provider URL
|
||||
4 Mirror type [see type constants]
|
||||
5 SQLite availability [was originally: local search engine flag] (TRUE / FALSE)
|
||||
6 Default language code
|
||||
7 Status [see status constants]
|
||||
|
||||
List generated: 2013/09/19 23:59:07 GMT
|
||||
*/
|
||||
|
||||
// Mirror type constants
|
||||
define('MIRROR_DOWNLOAD', 0);
|
||||
define('MIRROR_STANDARD', 1);
|
||||
define('MIRROR_SPECIAL', 2);
|
||||
define('MIRROR_VIRTUAL', 3);
|
||||
|
||||
// Mirror status constants
|
||||
define('MIRROR_OK', 0);
|
||||
define('MIRROR_NOTACTIVE', 1);
|
||||
define('MIRROR_OUTDATED', 2);
|
||||
define('MIRROR_DOESNOTWORK', 3);
|
||||
$MIRRORS = array(
|
||||
"http://ar2.php.net/" => array(
|
||||
"ARG", "XMundo Hosting Solutions", FALSE,
|
||||
"http://www.xmundo.net", MIRROR_STANDARD, TRUE,
|
||||
"es", MIRROR_OK),
|
||||
"http://am1.php.net/" => array(
|
||||
"ARM", "ARMINCO Global Telecommunications", TRUE,
|
||||
"http://www.arminco.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://au1.php.net/" => array(
|
||||
"AUS", "UberGlobal", TRUE,
|
||||
"http://www.uber.com.au/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://at1.php.net/" => array(
|
||||
"AUT", "Goodie Domain Service", FALSE,
|
||||
"http://www.gdsw.at/", MIRROR_STANDARD, TRUE,
|
||||
"de", MIRROR_OK),
|
||||
"http://at2.php.net/" => array(
|
||||
"AUT", "Yalwa Local Directory Services Austria", TRUE,
|
||||
"http://www.yalwa.at/", MIRROR_STANDARD, TRUE,
|
||||
"de", MIRROR_OK),
|
||||
"http://bd1.php.net/" => array(
|
||||
"BGD", "IS Pros Limited", TRUE,
|
||||
"http://www.ispros.com.bd", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://be1.php.net/" => array(
|
||||
"BEL", "King Foo", FALSE,
|
||||
"http://www.king-foo.be/", MIRROR_STANDARD, TRUE,
|
||||
"nl", MIRROR_OK),
|
||||
"http://be2.php.net/" => array(
|
||||
"BEL", "Cu.be Solutions", TRUE,
|
||||
"http://www.cu.be/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://br1.php.net/" => array(
|
||||
"BRA", "HostNet Internet", FALSE,
|
||||
"http://www.hostnet.com.br", MIRROR_STANDARD, TRUE,
|
||||
"pt_BR", MIRROR_OK),
|
||||
"http://br2.php.net/" => array(
|
||||
"BRA", "Digirati Internet", FALSE,
|
||||
"http://www.digirati.com.br/", MIRROR_STANDARD, TRUE,
|
||||
"pt_BR", MIRROR_OK),
|
||||
"http://bg2.php.net/" => array(
|
||||
"BGR", "Data.BG", TRUE,
|
||||
"http://www.data.bg", MIRROR_STANDARD, TRUE,
|
||||
"bg", MIRROR_OK),
|
||||
"http://ca1.php.net/" => array(
|
||||
"CAN", "easyDNS", FALSE,
|
||||
"http://www.easydns.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ca2.php.net/" => array(
|
||||
"CAN", "Parasane, LLC", TRUE,
|
||||
"http://www.parasane.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ca3.php.net/" => array(
|
||||
"CAN", "egateDOMAINS", TRUE,
|
||||
"http://www.egatedomains.ca/?RP=DJFEIWHFEWQ", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://cl1.php.net/" => array(
|
||||
"CHL", "Caos Consultores", TRUE,
|
||||
"http://www.caos.cl", MIRROR_STANDARD, TRUE,
|
||||
"es", MIRROR_OK),
|
||||
"http://cn1.php.net/" => array(
|
||||
"CHN", "VeryCD Network", FALSE,
|
||||
"http://www.verycd.com", MIRROR_STANDARD, FALSE,
|
||||
"", MIRROR_DOESNOTWORK),
|
||||
"http://cn2.php.net/" => array(
|
||||
"CHN", "Sina App Engine (SAE)", TRUE,
|
||||
"http://sae.sina.com.cn/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://cz1.php.net/" => array(
|
||||
"CZE", "Czech Technical University in Prague", FALSE,
|
||||
"http://www.cvut.cz/", MIRROR_STANDARD, TRUE,
|
||||
"cs", MIRROR_OK),
|
||||
"http://cz2.php.net/" => array(
|
||||
"CZE", "Softaculous Ltd.", TRUE,
|
||||
"http://www.softaculous.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://dk1.php.net/" => array(
|
||||
"DNK", "Siminn Denmark", TRUE,
|
||||
"http://www.siminn.dk", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ee1.php.net/" => array(
|
||||
"EST", "Zone Media LLC", TRUE,
|
||||
"https://www.zone.ee/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://fi1.php.net/" => array(
|
||||
"FIN", "Avenla Oy", TRUE,
|
||||
"http://www.avenla.fi/", MIRROR_STANDARD, TRUE,
|
||||
"fi", MIRROR_OK),
|
||||
"http://fi2.php.net/" => array(
|
||||
"FIN", "Planeetta Internet OY", TRUE,
|
||||
"http://www.planeetta.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://fr2.php.net/" => array(
|
||||
"FRA", "Crihan", FALSE,
|
||||
"http://www.crihan.fr/", MIRROR_STANDARD, TRUE,
|
||||
"fr", MIRROR_OK),
|
||||
"http://de1.php.net/" => array(
|
||||
"DEU", "@GLOBE GmbH", FALSE,
|
||||
"http://www.globe.de/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://de2.php.net/" => array(
|
||||
"DEU", "Locanto Kleinanzeigen", TRUE,
|
||||
"http://www.locanto.de/", MIRROR_STANDARD, TRUE,
|
||||
"de", MIRROR_OK),
|
||||
"http://de3.php.net/" => array(
|
||||
"DEU", "1&1 Internet AG", FALSE,
|
||||
"http://1und1.de", MIRROR_STANDARD, TRUE,
|
||||
"de", MIRROR_OK),
|
||||
"http://gr2.php.net/" => array(
|
||||
"GRC", "Golden-i", TRUE,
|
||||
"http://www.golden-i.gr/", MIRROR_STANDARD, TRUE,
|
||||
"el", MIRROR_OK),
|
||||
"http://hk1.php.net/" => array(
|
||||
"HKG", "Nethub Online Limited", FALSE,
|
||||
"http://www.nethub.com.hk/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://hk2.php.net/" => array(
|
||||
"HKG", "Website Solution Web Hosting", FALSE,
|
||||
"http://www.website-solution.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://hu1.php.net/" => array(
|
||||
"HUN", "PHPhost.hu", FALSE,
|
||||
"http://www.phphost.hu", MIRROR_STANDARD, TRUE,
|
||||
"hu", MIRROR_OK),
|
||||
"http://is1.php.net/" => array(
|
||||
"ISL", "Netsamskipti ehf", TRUE,
|
||||
"http://www.nwc.is", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://is2.php.net/" => array(
|
||||
"ISL", "Dotgeek", TRUE,
|
||||
"http://dotgeek.org/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://in1.php.net/" => array(
|
||||
"IND", "Directi Web Hosting", FALSE,
|
||||
"http://www.directi.com", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://in2.php.net/" => array(
|
||||
"IND", "Directi Web Hosting", FALSE,
|
||||
"http://www.directi.com", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://in3.php.net/" => array(
|
||||
"IND", "IndiaLinks Web Hosting Pvt Ltd", TRUE,
|
||||
"http://www.indialinks.com", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://id1.php.net/" => array(
|
||||
"IDN", "PT Pasifik Satelit Nusantara", TRUE,
|
||||
"http://www.pesat.net.id", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ir2.php.net/" => array(
|
||||
"IRN", "ParsPack.com", FALSE,
|
||||
"http://parspack.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ie1.php.net/" => array(
|
||||
"IRL", "Yalwa - Local Directory Services Ireland", TRUE,
|
||||
"http://www.yalwa.ie/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://il1.php.net/" => array(
|
||||
"ISR", "SPD HOSTING LTD", FALSE,
|
||||
"http://www.spd.co.il/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://it1.php.net/" => array(
|
||||
"ITA", "Register.it", FALSE,
|
||||
"http://www.register.it/", MIRROR_STANDARD, TRUE,
|
||||
"it", MIRROR_OK),
|
||||
"http://it2.php.net/" => array(
|
||||
"ITA", "nidohosting", FALSE,
|
||||
"http://www.nidohosting.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://jm2.php.net/" => array(
|
||||
"JAM", "Teamopolis Sports Websites Inc.", TRUE,
|
||||
"http://www.teamopolis.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://jp1.php.net/" => array(
|
||||
"JPN", "PacketBusiness, Inc.", FALSE,
|
||||
"http://www.packetbusiness.com/", MIRROR_STANDARD, TRUE,
|
||||
"ja", MIRROR_OK),
|
||||
"http://jp2.php.net/" => array(
|
||||
"JPN", "snotch", TRUE,
|
||||
"http://bloggers.ja.bz/sunouchi/", MIRROR_STANDARD, TRUE,
|
||||
"ja", MIRROR_OK),
|
||||
"http://lv1.php.net/" => array(
|
||||
"LVA", "Amigo", TRUE,
|
||||
"http://www.amigo.lv/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://li1.php.net/" => array(
|
||||
"LIE", "Telecom Liechtenstein AG", TRUE,
|
||||
"http://www.telecom.li/", MIRROR_STANDARD, TRUE,
|
||||
"de", MIRROR_OK),
|
||||
"http://lu1.php.net/" => array(
|
||||
"LUX", "root eSolutions ISP", FALSE,
|
||||
"http://www.root.lu", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://my1.php.net/" => array(
|
||||
"MYS", "MaxDedicated", TRUE,
|
||||
"http://www.maxdedicated.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://mx1.php.net/" => array(
|
||||
"MEX", "uServers Mexico", FALSE,
|
||||
"http://www.uservers.net/?in=php", MIRROR_STANDARD, TRUE,
|
||||
"es", MIRROR_OK),
|
||||
"http://mx2.php.net/" => array(
|
||||
"MEX", "Universidad Autónoma Metropolitana Azcapotzalco", TRUE,
|
||||
"http://www.azc.uam.mx", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://nl1.php.net/" => array(
|
||||
"NLD", "Stream Service", TRUE,
|
||||
"http://www.streamservice.nl/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://nl3.php.net/" => array(
|
||||
"NLD", "Computel Standby BV", TRUE,
|
||||
"http://www.computel.nl/", MIRROR_STANDARD, TRUE,
|
||||
"nl", MIRROR_OK),
|
||||
"http://nc1.php.net/" => array(
|
||||
"NCL", "Nautile", TRUE,
|
||||
"http://www.nautile.nc/", MIRROR_STANDARD, TRUE,
|
||||
"fr", MIRROR_OK),
|
||||
"http://nz1.php.net/" => array(
|
||||
"NZL", "Simon Sites", TRUE,
|
||||
"http://simonsites.geek.nz/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://nz2.php.net/" => array(
|
||||
"NZL", "Catalyst IT Ltd", FALSE,
|
||||
"http://catalyst.net.nz/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://no1.php.net/" => array(
|
||||
"NOR", "Nordicom Norge AS", FALSE,
|
||||
"http://nordicom.no/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://no2.php.net/" => array(
|
||||
"NOR", "Verdens Gang AS", TRUE,
|
||||
"http://www.vg.no", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://pk1.php.net/" => array(
|
||||
"PAK", "MAGSNET LIMITED", FALSE,
|
||||
"http://magsnet.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://pa1.php.net/" => array(
|
||||
"PAN", "Unidominios", TRUE,
|
||||
"http://www.unidominios.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://pl1.php.net/" => array(
|
||||
"POL", "WEBdev", TRUE,
|
||||
"http://webdev.pl/", MIRROR_STANDARD, TRUE,
|
||||
"pl", MIRROR_OK),
|
||||
"http://pt1.php.net/" => array(
|
||||
"PRT", "nfsi telecom, lda", FALSE,
|
||||
"http://www.nfsi.pt/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://pt2.php.net/" => array(
|
||||
"PRT", "dominios.pt", TRUE,
|
||||
"http://www.dominios.pt/", MIRROR_STANDARD, TRUE,
|
||||
"pt", MIRROR_OK),
|
||||
"http://kr1.php.net/" => array(
|
||||
"KOR", "ask.sarang.net", TRUE,
|
||||
"http://ask.sarang.net", MIRROR_STANDARD, TRUE,
|
||||
"kr", MIRROR_OK),
|
||||
"http://md1.php.net/" => array(
|
||||
"MDA", "dev.md", FALSE,
|
||||
"http://www.dev.md/", MIRROR_STANDARD, TRUE,
|
||||
"ro", MIRROR_OK),
|
||||
"http://ro1.php.net/" => array(
|
||||
"ROU", "SpiderVPS", FALSE,
|
||||
"http://www.spidervps.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ru2.php.net/" => array(
|
||||
"RUS", "Cronyx Plus LLC", FALSE,
|
||||
"http://isp.rinet.ru/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_DOESNOTWORK),
|
||||
"http://sg2.php.net/" => array(
|
||||
"SGP", "Xssist Group (Singapore) Pte Ltd", FALSE,
|
||||
"http://www.xssist.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://sg3.php.net/" => array(
|
||||
"SGP", "NamesAhead.com", TRUE,
|
||||
"http://www.namesahead.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://si1.php.net/" => array(
|
||||
"SVN", "DOMENAR.net", FALSE,
|
||||
"http://www.domenar.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://es1.php.net/" => array(
|
||||
"ESP", "GRN Serveis Telematics", FALSE,
|
||||
"http://www.grn.es/classic", MIRROR_STANDARD, TRUE,
|
||||
"es", MIRROR_OK),
|
||||
"http://se1.php.net/" => array(
|
||||
"SWE", "Portlane AB", FALSE,
|
||||
"http://www.portlane.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://se2.php.net/" => array(
|
||||
"SWE", "SpaceDump IT AB", TRUE,
|
||||
"http://www.spacedump.se/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ch1.php.net/" => array(
|
||||
"CHE", "ComunidadHosting", TRUE,
|
||||
"http://www.comunidadhosting.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ch2.php.net/" => array(
|
||||
"CHE", "Jobsuchmaschine AG", FALSE,
|
||||
"http://www.jobsuchmaschine.ch/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://tw1.php.net/" => array(
|
||||
"TWN", "twemail.com", TRUE,
|
||||
"http://twemail.com/", MIRROR_STANDARD, TRUE,
|
||||
"tw", MIRROR_OK),
|
||||
"http://tw2.php.net/" => array(
|
||||
"TWN", "www.mirror.tw", TRUE,
|
||||
"http://www.mirror.tw/", MIRROR_STANDARD, TRUE,
|
||||
"tw", MIRROR_OK),
|
||||
"http://th1.php.net/" => array(
|
||||
"THA", "THAIWEB.network", TRUE,
|
||||
"http://www.thaiweb.net", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://tr1.php.net/" => array(
|
||||
"TUR", "İstanbul Teknik Üniversitesi Bilgi İşlem Daire Başkanlığı", FALSE,
|
||||
"http://www.itu.edu.tr/", MIRROR_STANDARD, TRUE,
|
||||
"tr", MIRROR_OK),
|
||||
"http://tr2.php.net/" => array(
|
||||
"TUR", "DGN Teknoloji", FALSE,
|
||||
"http://www.dgn.net.tr/", MIRROR_STANDARD, TRUE,
|
||||
"tr", MIRROR_OK),
|
||||
"http://ua1.php.net/" => array(
|
||||
"UKR", "ELRO Corporation", FALSE,
|
||||
"http://elro.com", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://ua2.php.net/" => array(
|
||||
"UKR", "Max Khaikin", FALSE,
|
||||
"http://www.masterlogic.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://uk1.php.net/" => array(
|
||||
"GBR", "Camel Network", TRUE,
|
||||
"http://camelnetwork.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://uk3.php.net/" => array(
|
||||
"GBR", "CatN PHP Hosting", TRUE,
|
||||
"http://www.catn.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://tz1.php.net/" => array(
|
||||
"TZA", "Aptus Solutions", TRUE,
|
||||
"http://aptus.co.tz", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://us1.php.net/" => array(
|
||||
"USA", "NEXCESS.NET", FALSE,
|
||||
"http://www.nexcess.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://us2.php.net/" => array(
|
||||
"USA", "Hurricane Electric", FALSE,
|
||||
"http://he.net/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://us3.php.net/" => array(
|
||||
"USA", "C7 Data Centers", TRUE,
|
||||
"http://www.c7dc.com/", MIRROR_STANDARD, TRUE,
|
||||
"en", MIRROR_DOESNOTWORK),
|
||||
"http://www.php.net/" => array(
|
||||
"USA", "Yahoo! Inc.", FALSE,
|
||||
"http://developer.yahoo.com/", MIRROR_SPECIAL, TRUE,
|
||||
"en", MIRROR_OK),
|
||||
"http://docs.php.net/" => array(
|
||||
"XXX", "EUKhost", FALSE,
|
||||
"http://eukhost.com/", MIRROR_SPECIAL, TRUE,
|
||||
"en", MIRROR_DOESNOTWORK),
|
||||
);
|
||||
44
include/pregen-confs.inc
Normal file
44
include/pregen-confs.inc
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* DO NOTE MODIFY THIS FILE
|
||||
* This file is automagically generated, and overwritten,
|
||||
* by the rsync box. It is only included in this repo to simplify getting
|
||||
* up and running on your localhost without needing to generate all this
|
||||
* yourself from master.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$CONF_TEASER = array (
|
||||
'cfp' =>
|
||||
array (
|
||||
'http://php.net/conferences/index.php#id2013-09-05-1' => ' PHPBenelux Conference 2014',
|
||||
'http://php.net/conferences/index.php#id2013-09-01-1' => 'ConFoo 2014 wants you to be a speaker',
|
||||
'http://php.net/conferences/index.php#id2013-08-31-1' => 'SunshinePHP 2014',
|
||||
'http://php.net/conferences/index.php#id2013-07-19-2' => 'Ski PHP 2014',
|
||||
),
|
||||
'conference' =>
|
||||
array (
|
||||
'http://php.net/conferences/index.php#id2013-08-19-2' => 'CodeConnexx 2013',
|
||||
'http://php.net/conferences/index.php#id2013-08-19-1' => 'ZendCon 2013',
|
||||
'http://php.net/conferences/index.php#id2013-08-07-1' => 'International PHP Conference 2013',
|
||||
'http://php.net/conferences/index.php#id2013-05-06-1' => 'PHP Conference Argentina',
|
||||
'http://php.net/conferences/index.php#id2013-04-12-1' => 'PHP South Africa 2013',
|
||||
),
|
||||
)
|
||||
?>
|
||||
4228
include/pregen-news.inc
Normal file
4228
include/pregen-news.inc
Normal file
File diff suppressed because it is too large
Load Diff
84
manual/en/book.var.php
Normal file
84
manual/en/book.var.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/refs.basic.vartype.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'en',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'book.var.php',
|
||||
1 => 'Variable handling',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'refs.basic.vartype.php',
|
||||
1 => 'Variable and Type Related Extensions',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'class.reflectionexception.php',
|
||||
1 => 'ReflectionException',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'intro.var.php',
|
||||
1 => 'Introduction',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
'extra_header_links' =>
|
||||
array (
|
||||
'rel' => 'alternate',
|
||||
'href' => '/manual/en/feeds/book.var.atom',
|
||||
'type' => 'application/atom+xml',
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="book.var" class="book">
|
||||
|
||||
<h1 class="title">Variable handling</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="chunklist chunklist_book"><li><a href="intro.var.php">Introduction</a></li><li><a href="var.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="var.requirements.php">Requirements</a></li><li><a href="var.installation.php">Installation</a></li><li><a href="var.configuration.php">Runtime Configuration</a></li><li><a href="var.resources.php">Resource Types</a></li></ul></li><li><a href="var.constants.php">Predefined Constants</a></li><li><a href="ref.var.php">Variable handling Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.boolval.php">boolval</a> — Get the boolean value of a variable</li><li><a href="function.debug-zval-dump.php">debug_zval_dump</a> — Dumps a string representation of an internal zend value to output</li><li><a href="function.doubleval.php">doubleval</a> — Alias of floatval</li><li><a href="function.empty.php">empty</a> — Determine whether a variable is empty</li><li><a href="function.floatval.php">floatval</a> — Get float value of a variable</li><li><a href="function.get-defined-vars.php">get_defined_vars</a> — Returns an array of all defined variables</li><li><a href="function.get-resource-type.php">get_resource_type</a> — Returns the resource type</li><li><a href="function.gettype.php">gettype</a> — Get the type of a variable</li><li><a href="function.import-request-variables.php">import_request_variables</a> — Import GET/POST/Cookie variables into the global scope</li><li><a href="function.intval.php">intval</a> — Get the integer value of a variable</li><li><a href="function.is-array.php">is_array</a> — Finds whether a variable is an array</li><li><a href="function.is-bool.php">is_bool</a> — Finds out whether a variable is a boolean</li><li><a href="function.is-callable.php">is_callable</a> — Verify that the contents of a variable can be called as a function</li><li><a href="function.is-double.php">is_double</a> — Alias of is_float</li><li><a href="function.is-float.php">is_float</a> — Finds whether the type of a variable is float</li><li><a href="function.is-int.php">is_int</a> — Find whether the type of a variable is integer</li><li><a href="function.is-integer.php">is_integer</a> — Alias of is_int</li><li><a href="function.is-long.php">is_long</a> — Alias of is_int</li><li><a href="function.is-null.php">is_null</a> — Finds whether a variable is NULL</li><li><a href="function.is-numeric.php">is_numeric</a> — Finds whether a variable is a number or a numeric string</li><li><a href="function.is-object.php">is_object</a> — Finds whether a variable is an object</li><li><a href="function.is-real.php">is_real</a> — Alias of is_float</li><li><a href="function.is-resource.php">is_resource</a> — Finds whether a variable is a resource</li><li><a href="function.is-scalar.php">is_scalar</a> — Finds whether a variable is a scalar</li><li><a href="function.is-string.php">is_string</a> — Find whether the type of a variable is string</li><li><a href="function.isset.php">isset</a> — Determine if a variable is set and is not NULL</li><li><a href="function.print-r.php">print_r</a> — Prints human-readable information about a variable</li><li><a href="function.serialize.php">serialize</a> — Generates a storable representation of a value</li><li><a href="function.settype.php">settype</a> — Set the type of a variable</li><li><a href="function.strval.php">strval</a> — Get string value of a variable</li><li><a href="function.unserialize.php">unserialize</a> — Creates a PHP value from a stored representation</li><li><a href="function.unset.php">unset</a> — Unset a given variable</li><li><a href="function.var-dump.php">var_dump</a> — Dumps information about a variable</li><li><a href="function.var-export.php">var_export</a> — Outputs or returns a parsable string representation of a variable</li></ul></li></ul></div><?php manual_footer(); ?>
|
||||
292
manual/en/class.exception.php
Normal file
292
manual/en/class.exception.php
Normal file
@@ -0,0 +1,292 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/reserved.exceptions.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'en',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'class.exception.php',
|
||||
1 => 'Exception',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'reserved.exceptions.php',
|
||||
1 => 'Predefined Exceptions',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'reserved.exceptions.php',
|
||||
1 => 'Predefined Exceptions',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'exception.construct.php',
|
||||
1 => 'Exception::__construct',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
'extra_header_links' =>
|
||||
array (
|
||||
'rel' => 'alternate',
|
||||
'href' => '/manual/en/feeds/class.exception.atom',
|
||||
'type' => 'application/atom+xml',
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="class.exception" class="reference">
|
||||
<h1 class="title">Exception</h1>
|
||||
|
||||
|
||||
<div class="partintro"><p class="verinfo">(PHP 5 >= 5.1.0)</p>
|
||||
|
||||
|
||||
<div class="section" id="exception.intro">
|
||||
<h2 class="title">Introduction</h2>
|
||||
<p class="para">
|
||||
<span class="ooclass"><strong class="classname">Exception</strong></span> is the base class for
|
||||
all Exceptions.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section" id="exception.synopsis">
|
||||
<h2 class="title">Class synopsis</h2>
|
||||
|
||||
|
||||
<div class="classsynopsis">
|
||||
<div class="ooclass"></div>
|
||||
|
||||
|
||||
<div class="classsynopsisinfo">
|
||||
<span class="ooclass">
|
||||
<strong class="classname">Exception</strong>
|
||||
</span>
|
||||
{</div>
|
||||
|
||||
|
||||
<div class="classsynopsisinfo classsynopsisinfo_comment">/* Properties */</div>
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">string</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.message">$<var class="varname">message</var></a></var>
|
||||
;</div>
|
||||
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">int</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.code">$<var class="varname">code</var></a></var>
|
||||
;</div>
|
||||
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">string</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.file">$<var class="varname">file</var></a></var>
|
||||
;</div>
|
||||
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">int</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.line">$<var class="varname">line</var></a></var>
|
||||
;</div>
|
||||
|
||||
|
||||
<div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
|
||||
<div class="constructorsynopsis dc-description">
|
||||
<span class="modifier">public</span> <span class="methodname"><a href="exception.construct.php" class="methodname">__construct</a></span>
|
||||
([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$message</code><span class="initializer"> = ""</span></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$code</code><span class="initializer"> = 0</span></span>
|
||||
[, <span class="methodparam"><span class="type"><a href="class.exception.php" class="type Exception">Exception</a></span> <code class="parameter">$previous</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
|
||||
]]] )</div>
|
||||
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.getmessage.php" class="methodname">getMessage</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">Exception</span> <span class="methodname"><a href="exception.getprevious.php" class="methodname">getPrevious</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">mixed</span> <span class="methodname"><a href="exception.getcode.php" class="methodname">getCode</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.getfile.php" class="methodname">getFile</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="exception.getline.php" class="methodname">getLine</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><a href="exception.gettrace.php" class="methodname">getTrace</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.gettraceasstring.php" class="methodname">getTraceAsString</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.tostring.php" class="methodname">__toString</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">private</span> <span class="type">void</span> <span class="methodname"><a href="exception.clone.php" class="methodname">__clone</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
|
||||
}</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section" id="exception.props">
|
||||
<h2 class="title">Properties</h2>
|
||||
<dl>
|
||||
|
||||
<dt id="exception.props.message">
|
||||
<span class="term"><var class="varname"><var class="varname">message</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">The exception message</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="exception.props.code">
|
||||
<span class="term"><var class="varname"><var class="varname">code</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">The exception code</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="exception.props.file">
|
||||
<span class="term"><var class="varname"><var class="varname">file</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">The filename where the exception was created</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="exception.props.line">
|
||||
<span class="term"><var class="varname"><var class="varname">line</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">The line where the exception was created</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="exception.construct.php">Exception::__construct</a> — Construct the exception</li><li><a href="exception.getmessage.php">Exception::getMessage</a> — Gets the Exception message</li><li><a href="exception.getprevious.php">Exception::getPrevious</a> — Returns previous Exception</li><li><a href="exception.getcode.php">Exception::getCode</a> — Gets the Exception code</li><li><a href="exception.getfile.php">Exception::getFile</a> — Gets the file in which the exception occurred</li><li><a href="exception.getline.php">Exception::getLine</a> — Gets the line in which the exception occurred</li><li><a href="exception.gettrace.php">Exception::getTrace</a> — Gets the stack trace</li><li><a href="exception.gettraceasstring.php">Exception::getTraceAsString</a> — Gets the stack trace as a string</li><li><a href="exception.tostring.php">Exception::__toString</a> — String representation of the exception</li><li><a href="exception.clone.php">Exception::__clone</a> — Clone the exception</li></ul>
|
||||
</div>
|
||||
<?php manual_footer(); ?>
|
||||
442
manual/en/context.http.php
Normal file
442
manual/en/context.http.php
Normal file
@@ -0,0 +1,442 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/context.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'en',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'context.http.php',
|
||||
1 => 'HTTP context options',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'context.php',
|
||||
1 => 'Context options and parameters',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'context.socket.php',
|
||||
1 => 'Socket context options',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'context.ftp.php',
|
||||
1 => 'FTP context options',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="context.http" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">HTTP context options</h1>
|
||||
<p class="refpurpose"><span class="refname">HTTP context options</span> — <span class="dc-title">HTTP context option listing</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-context.http-description">
|
||||
<h3 class="title">Description</h3>
|
||||
<p class="para">
|
||||
Context options for <em>http://</em> and <em>https://</em>
|
||||
transports.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 options" id="refsect1-context.http-options">
|
||||
<h3 class="title">Options</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
<dt id="context.http.method">
|
||||
<span class="term">
|
||||
<em><code class="parameter">method</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
<strong><code>GET</code></strong>, <strong><code>POST</code></strong>, or
|
||||
any other HTTP method supported by the remote server.
|
||||
</p>
|
||||
<p class="para">
|
||||
Defaults to <strong><code>GET</code></strong>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.header">
|
||||
<span class="term">
|
||||
<em><code class="parameter">header</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Additional headers to be sent during request. Values
|
||||
in this option will override other values (such as
|
||||
<em>User-agent:</em>, <em>Host:</em>,
|
||||
and <em>Authentication:</em>).
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.user-agent">
|
||||
<span class="term">
|
||||
<em><code class="parameter">user_agent</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Value to send with <em>User-Agent:</em> header. This value will
|
||||
only be used if user-agent is <em class="emphasis">not</em> specified
|
||||
in the <em>header</em> context option above.
|
||||
</p>
|
||||
<p class="para">
|
||||
By default the
|
||||
<a href="filesystem.configuration.php#ini.user-agent" class="link">user_agent</a>
|
||||
<var class="filename">php.ini</var> setting is used.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.content">
|
||||
<span class="term">
|
||||
<em><code class="parameter">content</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Additional data to be sent after the headers. Typically used
|
||||
with POST or PUT requests.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.proxy">
|
||||
<span class="term">
|
||||
<em><code class="parameter">proxy</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
URI specifying address of proxy server. (e.g.
|
||||
<em>tcp://proxy.example.com:5100</em>).
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.request-fulluri">
|
||||
<span class="term">
|
||||
<em><code class="parameter">request_fulluri</code></em>
|
||||
<span class="type"><a href="language.types.boolean.php" class="type boolean">boolean</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
When set to <strong><code>TRUE</code></strong>, the entire URI will be used when
|
||||
constructing the request. (i.e.
|
||||
<em>GET http://www.example.com/path/to/file.html HTTP/1.0</em>).
|
||||
While this is a non-standard request format, some
|
||||
proxy servers require it.
|
||||
</p>
|
||||
<p class="para">
|
||||
Defaults to <strong><code>FALSE</code></strong>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.follow-location">
|
||||
<span class="term">
|
||||
<em><code class="parameter">follow_location</code></em>
|
||||
<span class="type"><a href="language.types.integer.php" class="type integer">integer</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Follow <em>Location</em> header redirects. Set to
|
||||
<em>0</em> to disable.
|
||||
</p>
|
||||
<p class="para">
|
||||
Defaults to <em>1</em>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.max-redirects">
|
||||
<span class="term">
|
||||
<em><code class="parameter">max_redirects</code></em>
|
||||
<span class="type"><a href="language.types.integer.php" class="type integer">integer</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The max number of redirects to follow. Value <em>1</em> or
|
||||
less means that no redirects are followed.
|
||||
</p>
|
||||
<p class="para">
|
||||
Defaults to <em>20</em>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.protocol-version">
|
||||
<span class="term">
|
||||
<em><code class="parameter">protocol_version</code></em>
|
||||
<span class="type"><a href="language.types.float.php" class="type float">float</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
HTTP protocol version.
|
||||
</p>
|
||||
<p class="para">
|
||||
Defaults to <em>1.0</em>.
|
||||
</p>
|
||||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||||
<p class="para">
|
||||
PHP prior to 5.3.0 does not implement chunked transfer decoding.
|
||||
If this value is set to <em>1.1</em> it is your
|
||||
responsibility to be <em>1.1</em> compliant.
|
||||
</p>
|
||||
</p></blockquote>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.timeout">
|
||||
<span class="term">
|
||||
<em><code class="parameter">timeout</code></em>
|
||||
<span class="type"><a href="language.types.float.php" class="type float">float</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Read timeout in seconds, specified by a <span class="type"><a href="language.types.float.php" class="type float">float</a></span>
|
||||
(e.g. <em>10.5</em>).
|
||||
</p>
|
||||
<p class="para">
|
||||
By default the
|
||||
<a href="filesystem.configuration.php#ini.default-socket-timeout" class="link">default_socket_timeout</a>
|
||||
<var class="filename">php.ini</var> setting is used.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.ignore-errors">
|
||||
<span class="term">
|
||||
<em><code class="parameter">ignore_errors</code></em>
|
||||
<span class="type"><a href="language.types.boolean.php" class="type boolean">boolean</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Fetch the content even on failure status codes.
|
||||
</p>
|
||||
<p class="para">
|
||||
Defaults to <strong><code>FALSE</code></strong>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 changelog" id="refsect1-context.http-changelog">
|
||||
<h3 class="title">Changelog</h3>
|
||||
<p class="para">
|
||||
<table class="doctable informaltable">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Version</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody class="tbody">
|
||||
<tr>
|
||||
<td>5.3.4</td>
|
||||
<td>
|
||||
Added <em><code class="parameter">follow_location</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.3.0</td>
|
||||
<td>
|
||||
The <em><code class="parameter">protocol_version</code></em> supports chunked transfer
|
||||
decoding when set to <em>1.1</em>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.2.10</td>
|
||||
<td>
|
||||
Added <em><code class="parameter">ignore_errors</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.2.10</td>
|
||||
<td>
|
||||
The <em><code class="parameter">header</code></em> can now be an numerically indexed <span class="type"><a href="language.types.array.php" class="type array">array</a></span>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.2.1</td>
|
||||
<td>
|
||||
Added <em><code class="parameter">timeout</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.1.0</td>
|
||||
<td>
|
||||
Added HTTPS proxying through HTTP proxies.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.1.0</td>
|
||||
<td>
|
||||
Added <em><code class="parameter">max_redirects</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.1.0</td>
|
||||
<td>
|
||||
Added <em><code class="parameter">protocol_version</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 examples" id="refsect1-context.http-examples">
|
||||
<h3 class="title">Examples</h3>
|
||||
<p class="para">
|
||||
<div class="example" id="context.http.example-post">
|
||||
<p><strong>Example #1 Fetch a page and send POST data</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /><br />$postdata </span><span style="color: #007700">= </span><span style="color: #0000BB">http_build_query</span><span style="color: #007700">(<br /> array(<br /> </span><span style="color: #DD0000">'var1' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'some content'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'var2' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'doh'<br /> </span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$opts </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'http' </span><span style="color: #007700">=><br /> array(<br /> </span><span style="color: #DD0000">'method' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'POST'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'header' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Content-type: application/x-www-form-urlencoded'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'content' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$postdata<br /> </span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context </span><span style="color: #007700">= </span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$result </span><span style="color: #007700">= </span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #DD0000">'http://example.com/submit.php'</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
<p class="para">
|
||||
<div class="example" id="context.http.example-fetch-ignore-redirect">
|
||||
<p><strong>Example #2 Ignore redirects but fetch headers and content </strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /><br />$url </span><span style="color: #007700">= </span><span style="color: #DD0000">"http://www.example.org/header.php"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">$opts </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'http' </span><span style="color: #007700">=><br /> array(<br /> </span><span style="color: #DD0000">'method' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'max_redirects' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'0'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'ignore_errors' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'1'<br /> </span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context </span><span style="color: #007700">= </span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$stream </span><span style="color: #007700">= </span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'r'</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// header information as well as meta data<br />// about the stream<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /><br /></span><span style="color: #FF8000">// actual data at $url<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 notes" id="refsect1-context.http-notes">
|
||||
<h3 class="title">Notes</h3>
|
||||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||||
<strong>Underlying socket stream context options</strong><br />
|
||||
<span class="simpara">
|
||||
Additional context options may be supported by the
|
||||
<a href="transports.inet.php" class="link">underlying transport</a>
|
||||
For <em>http://</em> streams, refer to context
|
||||
options for the <em>tcp://</em> transport. For
|
||||
<em>https://</em> streams, refer to context options
|
||||
for the <em>ssl://</em> transport.
|
||||
</span>
|
||||
</p></blockquote>
|
||||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||||
<strong>HTTP status line</strong><br />
|
||||
<span class="simpara">
|
||||
When this stream wrapper follows a redirect, the
|
||||
<em>wrapper_data</em> returned by
|
||||
<span class="function"><a href="function.stream-get-meta-data.php" class="function">stream_get_meta_data()</a></span> might not necessarily contain
|
||||
the HTTP status line that actually applies to the content data at index
|
||||
<em>0</em>.
|
||||
</span>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
array (
|
||||
'wrapper_data' =>
|
||||
array (
|
||||
0 => 'HTTP/1.0 301 Moved Permantenly',
|
||||
1 => 'Cache-Control: no-cache',
|
||||
2 => 'Connection: close',
|
||||
3 => 'Location: http://example.com/foo.jpg',
|
||||
4 => 'HTTP/1.1 200 OK',
|
||||
...
|
||||
</pre></div>
|
||||
</div>
|
||||
<span class="simpara">
|
||||
The first request returned a <em>301</em> (permanent redirect),
|
||||
so the stream wrapper automatically followed the redirect to get a
|
||||
<em>200</em> response (index = <em>4</em>).
|
||||
</span>
|
||||
</p></blockquote>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-context.http-seealso">
|
||||
<h3 class="title">See Also</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"><a href="wrappers.http.php" class="xref">http://</a></li>
|
||||
<li class="member"><a href="context.socket.php" class="xref">Socket context options</a></li>
|
||||
<li class="member"><a href="context.ssl.php" class="xref">SSL context options</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><?php manual_footer(); ?>
|
||||
118
manual/en/funcref.php
Normal file
118
manual/en/funcref.php
Normal file
File diff suppressed because one or more lines are too long
201
manual/en/function.strpos.php
Normal file
201
manual/en/function.strpos.php
Normal file
@@ -0,0 +1,201 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/ref.strings.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'en',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'function.strpos.php',
|
||||
1 => 'strpos',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'ref.strings.php',
|
||||
1 => 'String Functions',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'function.strpbrk.php',
|
||||
1 => 'strpbrk',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'function.strrchr.php',
|
||||
1 => 'strrchr',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="function.strpos" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">strpos</h1>
|
||||
<p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">strpos</span> — <span class="dc-title">Find the position of the first occurrence of a substring in a string</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.strpos-description">
|
||||
<h3 class="title">Description</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>strpos</strong></span>
|
||||
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$haystack</code></span>
|
||||
, <span class="methodparam"><span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$needle</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$offset</code><span class="initializer"> = 0</span></span>
|
||||
] )</div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Find the numeric position of the first occurrence of
|
||||
<em><code class="parameter">needle</code></em> in the <em><code class="parameter">haystack</code></em> string.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.strpos-parameters">
|
||||
<h3 class="title">Parameters</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
<dt>
|
||||
|
||||
<span class="term"><em><code class="parameter">haystack</code></em></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The string to search in.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt>
|
||||
|
||||
<span class="term"><em><code class="parameter">needle</code></em></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
If <em><code class="parameter">needle</code></em> is not a string, it is converted
|
||||
to an integer and applied as the ordinal value of a character.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt>
|
||||
|
||||
<span class="term"><em><code class="parameter">offset</code></em></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
If specified, search will start this number of characters counted from
|
||||
the beginning of the string. Unlike <span class="function"><a href="function.strrpos.php" class="function">strrpos()</a></span> and
|
||||
<span class="function"><a href="function.strripos.php" class="function">strripos()</a></span>, the offset cannot be negative.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.strpos-returnvalues">
|
||||
<h3 class="title">Return Values</h3>
|
||||
<p class="para">
|
||||
Returns the position of where the needle exists relative to the beginning of
|
||||
the <em><code class="parameter">haystack</code></em> string (independent of offset).
|
||||
Also note that string positions start at 0, and not 1.
|
||||
</p>
|
||||
<p class="para">
|
||||
Returns <strong><code>FALSE</code></strong> if the needle was not found.
|
||||
</p>
|
||||
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function may
|
||||
return Boolean <strong><code>FALSE</code></strong>, but may also return a non-Boolean value which
|
||||
evaluates to <strong><code>FALSE</code></strong>. Please read the section on <a href="language.types.boolean.php" class="link">Booleans</a> for more
|
||||
information. Use <a href="language.operators.comparison.php" class="link">the ===
|
||||
operator</a> for testing the return value of this
|
||||
function.</p></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 examples" id="refsect1-function.strpos-examples">
|
||||
<h3 class="title">Examples</h3>
|
||||
<p class="para">
|
||||
<div class="example" id="example-4886">
|
||||
<p><strong>Example #1 Using <em>===</em></strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br />$mystring </span><span style="color: #007700">= </span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme </span><span style="color: #007700">= </span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos </span><span style="color: #007700">= </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">, </span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// Note our use of ===. Simply == would not work as expected<br />// because the position of 'a' was the 0th (first) character.<br /></span><span style="color: #007700">if (</span><span style="color: #0000BB">$pos </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">"The string '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' was not found in the string '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br />} else {<br /> echo </span><span style="color: #DD0000">"The string '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' was found in the string '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">" and exists at position </span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="example" id="example-4887">
|
||||
<p><strong>Example #2 Using !==</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br />$mystring </span><span style="color: #007700">= </span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme </span><span style="color: #007700">= </span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos </span><span style="color: #007700">= </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">, </span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// The !== operator can also be used. Using != would not work as expected<br />// because the position of 'a' is 0. The statement (0 != false) evaluates <br />// to false.<br /></span><span style="color: #007700">if (</span><span style="color: #0000BB">$pos </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">"The string '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' was found in the string '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">" and exists at position </span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">"</span><span style="color: #007700">;<br />} else {<br /> echo </span><span style="color: #DD0000">"The string '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' was not found in the string '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="example" id="example-4888">
|
||||
<p><strong>Example #3 Using an offset</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">// We can search for the character, ignoring anything before the offset<br /></span><span style="color: #0000BB">$newstring </span><span style="color: #007700">= </span><span style="color: #DD0000">'abcdef abcdef'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos </span><span style="color: #007700">= </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$newstring</span><span style="color: #007700">, </span><span style="color: #DD0000">'a'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">); </span><span style="color: #FF8000">// $pos = 7, not 0<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 notes" id="refsect1-function.strpos-notes">
|
||||
<h3 class="title">Notes</h3>
|
||||
<blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">This function is
|
||||
binary-safe.</span></p></blockquote>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-function.strpos-seealso">
|
||||
<h3 class="title">See Also</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"> <span class="function"><a href="function.stripos.php" class="function" rel="rdfs-seeAlso">stripos()</a> - Find the position of the first occurrence of a case-insensitive substring in a string</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strrpos.php" class="function" rel="rdfs-seeAlso">strrpos()</a> - Find the position of the last occurrence of a substring in a string</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strripos.php" class="function" rel="rdfs-seeAlso">strripos()</a> - Find the position of the last occurrence of a case-insensitive substring in a string</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strstr.php" class="function" rel="rdfs-seeAlso">strstr()</a> - Find the first occurrence of a string</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strpbrk.php" class="function" rel="rdfs-seeAlso">strpbrk()</a> - Search a string for any of a set of characters</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.substr.php" class="function" rel="rdfs-seeAlso">substr()</a> - Return part of a string</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.preg-match.php" class="function" rel="rdfs-seeAlso">preg_match()</a> - Perform a regular expression match</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><?php manual_footer(); ?>
|
||||
172
manual/en/index.php
Normal file
172
manual/en/index.php
Normal file
File diff suppressed because one or more lines are too long
165
manual/en/language.exceptions.php
Normal file
165
manual/en/language.exceptions.php
Normal file
@@ -0,0 +1,165 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/langref.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'en',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'language.exceptions.php',
|
||||
1 => 'Exceptions',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => 'Language Reference',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'language.namespaces.faq.php',
|
||||
1 => 'FAQ: things you need to know about namespaces',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'language.exceptions.extending.php',
|
||||
1 => 'Extending Exceptions',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
'extra_header_links' =>
|
||||
array (
|
||||
'rel' => 'alternate',
|
||||
'href' => '/manual/en/feeds/language.exceptions.atom',
|
||||
'type' => 'application/atom+xml',
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="language.exceptions" class="chapter">
|
||||
<h1>Exceptions</h1>
|
||||
<h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="language.exceptions.extending.php">Extending Exceptions</a></li></ul>
|
||||
|
||||
|
||||
<p class="para">
|
||||
PHP 5 has an exception model similar to that of other programming languages.
|
||||
An exception can be <em>throw</em>n, and caught
|
||||
("<em>catch</em>ed") within PHP. Code may be surrounded in a
|
||||
<em>try</em> block, to facilitate the catching of potential
|
||||
exceptions. Each <em>try</em> must have at least one
|
||||
corresponding <em>catch</em> block. Multiple
|
||||
<em>catch</em> blocks can be used to catch different classes of
|
||||
exceptions. Normal execution (when no exception is thrown within the
|
||||
<em>try</em> block, or when a <em>catch</em> matching
|
||||
the thrown exception's class is not present) will continue after that last
|
||||
<em>catch</em> block defined in sequence. Exceptions can be
|
||||
<em>throw</em>n (or re-thrown) within a <em>catch</em> block.
|
||||
</p>
|
||||
<p class="para">
|
||||
When an exception is thrown, code following the statement will not be
|
||||
executed, and PHP will attempt to find the first matching
|
||||
<em>catch</em> block. If an
|
||||
exception is not caught, a PHP Fatal Error will be issued with an
|
||||
"<em>Uncaught Exception ...</em>" message, unless a handler has
|
||||
been defined with <span class="function"><a href="function.set-exception-handler.php" class="function">set_exception_handler()</a></span>.
|
||||
</p>
|
||||
<p class="para">
|
||||
In PHP 5.5 and later, a <em>finally</em> block may also be
|
||||
specified after the <em>catch</em> blocks. Code within the
|
||||
<em>finally</em> block will always be executed after the
|
||||
<em>try</em> and <em>catch</em> blocks, regardless of
|
||||
whether an exception has been thrown, and before normal execution resumes.
|
||||
</p>
|
||||
<p class="para">
|
||||
The thrown object must be an instance of the <a href="class.exception.php" class="classname">Exception</a>
|
||||
class or a subclass of <a href="class.exception.php" class="classname">Exception</a>. Trying to throw an
|
||||
object that is not will result in a PHP Fatal Error.
|
||||
</p>
|
||||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||||
<p class="para">
|
||||
Internal PHP functions mainly use
|
||||
<a href="errorfunc.configuration.php#ini.error-reporting" class="link">Error reporting</a>, only modern
|
||||
<a href="language.oop5.php" class="link">Object oriented</a>
|
||||
extensions use exceptions. However, errors can be simply translated to
|
||||
exceptions with <a href="class.errorexception.php" class="link">ErrorException</a>.
|
||||
</p>
|
||||
</p></blockquote>
|
||||
<div class="tip"><strong class="tip">Tip</strong>
|
||||
<p class="para">
|
||||
The <a href="intro.spl.php" class="link">Standard PHP Library (SPL)</a> provides a
|
||||
good number of <a href="spl.exceptions.php" class="link">built-in exceptions</a>.
|
||||
</p>
|
||||
</div>
|
||||
<div class="example" id="example-269">
|
||||
<p><strong>Example #1 Throwing an Exception</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> if (!</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> throw new </span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'Division by zero.'</span><span style="color: #007700">);<br /> }<br /> return </span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try {<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'Caught exception: '</span><span style="color: #007700">, </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(), </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">// Continue execution<br /></span><span style="color: #007700">echo </span><span style="color: #DD0000">"Hello World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
<div class="example-contents"><p>The above example will output:</p></div>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
0.2
|
||||
Caught exception: Division by zero.
|
||||
Hello World
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="example" id="example-270">
|
||||
<p><strong>Example #2 Exception handling with a <em>finally</em> block</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> if (!</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> throw new </span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'Division by zero.'</span><span style="color: #007700">);<br /> }<br /> return </span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try {<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'Caught exception: '</span><span style="color: #007700">, </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(), </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} </span><span style="color: #0000BB">finally </span><span style="color: #007700">{<br /> echo </span><span style="color: #DD0000">"First finally.\n"</span><span style="color: #007700">;<br />}<br /><br />try {<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'Caught exception: '</span><span style="color: #007700">, </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(), </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} </span><span style="color: #0000BB">finally </span><span style="color: #007700">{<br /> echo </span><span style="color: #DD0000">"Second finally.\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">// Continue execution<br /></span><span style="color: #007700">echo </span><span style="color: #DD0000">"Hello World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
<div class="example-contents"><p>The above example will output:</p></div>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
0.2
|
||||
First finally.
|
||||
Caught exception: Division by zero.
|
||||
Second finally.
|
||||
Hello World
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="example" id="example-271">
|
||||
<p><strong>Example #3 Nested Exception</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /><br /></span><span style="color: #007700">class </span><span style="color: #0000BB">MyException </span><span style="color: #007700">extends </span><span style="color: #0000BB">Exception </span><span style="color: #007700">{ }<br /><br />class </span><span style="color: #0000BB">Test </span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">testing</span><span style="color: #007700">() {<br /> try {<br /> try {<br /> throw new </span><span style="color: #0000BB">MyException</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo!'</span><span style="color: #007700">);<br /> } catch (</span><span style="color: #0000BB">MyException $e</span><span style="color: #007700">) {<br /> </span><span style="color: #FF8000">// rethrow it<br /> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;<br /> }<br /> } catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">());<br /> }<br /> }<br />}<br /><br /></span><span style="color: #0000BB">$foo </span><span style="color: #007700">= new </span><span style="color: #0000BB">Test</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$foo</span><span style="color: #007700">-></span><span style="color: #0000BB">testing</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
<div class="example-contents"><p>The above example will output:</p></div>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
string(4) "foo!"
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<?php manual_footer(); ?>
|
||||
135
manual/en/refs.basic.vartype.php
Normal file
135
manual/en/refs.basic.vartype.php
Normal file
File diff suppressed because one or more lines are too long
1
manual/en/search-description.json
Normal file
1
manual/en/search-description.json
Normal file
File diff suppressed because one or more lines are too long
1
manual/en/search-index.json
Normal file
1
manual/en/search-index.json
Normal file
File diff suppressed because one or more lines are too long
50
manual/en/toc/context.inc
Normal file
50
manual/en/toc/context.inc
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'context.socket.php',
|
||||
1 => 'Socket context options',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'context.http.php',
|
||||
1 => 'HTTP context options',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'context.ftp.php',
|
||||
1 => 'FTP context options',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'context.ssl.php',
|
||||
1 => 'SSL context options',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'context.curl.php',
|
||||
1 => 'CURL context options',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'context.phar.php',
|
||||
1 => 'Phar context options',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'context.params.php',
|
||||
1 => 'Context parameters',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => 'Language Reference',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
);
|
||||
140
manual/en/toc/funcref.inc
Normal file
140
manual/en/toc/funcref.inc
Normal file
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'refs.basic.php.php',
|
||||
1 => 'Affecting PHP\'s Behaviour',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.audio.php',
|
||||
1 => 'Audio Formats Manipulation',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'refs.remote.auth.php',
|
||||
1 => 'Authentication Services',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.cmdline.php',
|
||||
1 => 'Command Line Specific Extensions',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'refs.compression.php',
|
||||
1 => 'Compression and Archive Extensions',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'refs.creditcard.php',
|
||||
1 => 'Credit Card Processing',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'refs.crypto.php',
|
||||
1 => 'Cryptography Extensions',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'refs.database.php',
|
||||
1 => 'Database Extensions',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'refs.calendar.php',
|
||||
1 => 'Date and Time Related Extensions',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'refs.fileprocess.file.php',
|
||||
1 => 'File System Related Extensions',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'refs.international.php',
|
||||
1 => 'Human Language and Character Encoding Support',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.image.php',
|
||||
1 => 'Image Processing and Generation',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
0 => 'refs.remote.mail.php',
|
||||
1 => 'Mail Related Extensions',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
0 => 'refs.math.php',
|
||||
1 => 'Mathematical Extensions',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.nontext.php',
|
||||
1 => 'Non-Text MIME Output',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
0 => 'refs.fileprocess.process.php',
|
||||
1 => 'Process Control Extensions',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
0 => 'refs.basic.other.php',
|
||||
1 => 'Other Basic Extensions',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
0 => 'refs.remote.other.php',
|
||||
1 => 'Other Services',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
0 => 'refs.search.php',
|
||||
1 => 'Search Engine Extensions',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.server.php',
|
||||
1 => 'Server Specific Extensions',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
0 => 'refs.basic.session.php',
|
||||
1 => 'Session Extensions',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
0 => 'refs.basic.text.php',
|
||||
1 => 'Text Processing',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
0 => 'refs.basic.vartype.php',
|
||||
1 => 'Variable and Type Related Extensions',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
0 => 'refs.webservice.php',
|
||||
1 => 'Web Services',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.windows.php',
|
||||
1 => 'Windows Only Extensions',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
0 => 'refs.xml.php',
|
||||
1 => 'XML Manipulation',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
);
|
||||
60
manual/en/toc/index.inc
Normal file
60
manual/en/toc/index.inc
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'copyright.php',
|
||||
1 => 'Copyright',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'manual.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'getting-started.php',
|
||||
1 => 'Getting Started',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'install.php',
|
||||
1 => 'Installation and Configuration',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => 'Language Reference',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'security.php',
|
||||
1 => 'Security',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'features.php',
|
||||
1 => 'Features',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'funcref.php',
|
||||
1 => 'Function Reference',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'internals2.php',
|
||||
1 => 'PHP at the Core: A Hacker\'s Guide',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'faq.php',
|
||||
1 => 'FAQ',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'appendices.php',
|
||||
1 => 'Appendices',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
);
|
||||
100
manual/en/toc/langref.inc
Normal file
100
manual/en/toc/langref.inc
Normal file
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'language.basic-syntax.php',
|
||||
1 => 'Basic syntax',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'language.types.php',
|
||||
1 => 'Types',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'language.variables.php',
|
||||
1 => 'Variables',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'language.constants.php',
|
||||
1 => 'Constants',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'language.expressions.php',
|
||||
1 => 'Expressions',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'language.operators.php',
|
||||
1 => 'Operators',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'language.control-structures.php',
|
||||
1 => 'Control Structures',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'language.functions.php',
|
||||
1 => 'Functions',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'language.oop5.php',
|
||||
1 => 'Classes and Objects',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'language.namespaces.php',
|
||||
1 => 'Namespaces',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'language.exceptions.php',
|
||||
1 => 'Exceptions',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
0 => 'language.generators.php',
|
||||
1 => 'Generators',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
0 => 'language.references.php',
|
||||
1 => 'References Explained',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
0 => 'reserved.variables.php',
|
||||
1 => 'Predefined Variables',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
0 => 'reserved.exceptions.php',
|
||||
1 => 'Predefined Exceptions',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
0 => 'reserved.interfaces.php',
|
||||
1 => 'Predefined Interfaces and Classes',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
0 => 'context.php',
|
||||
1 => 'Context options and parameters',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
0 => 'wrappers.php',
|
||||
1 => 'Supported Protocols and Wrappers',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
);
|
||||
515
manual/en/toc/ref.strings.inc
Normal file
515
manual/en/toc/ref.strings.inc
Normal file
@@ -0,0 +1,515 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'function.addcslashes.php',
|
||||
1 => 'addcslashes',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'function.addslashes.php',
|
||||
1 => 'addslashes',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'function.bin2hex.php',
|
||||
1 => 'bin2hex',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'function.chop.php',
|
||||
1 => 'chop',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'function.chr.php',
|
||||
1 => 'chr',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'function.chunk-split.php',
|
||||
1 => 'chunk_split',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'function.convert-cyr-string.php',
|
||||
1 => 'convert_cyr_string',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'function.convert-uudecode.php',
|
||||
1 => 'convert_uudecode',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'function.convert-uuencode.php',
|
||||
1 => 'convert_uuencode',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'function.count-chars.php',
|
||||
1 => 'count_chars',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'function.crc32.php',
|
||||
1 => 'crc32',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
0 => 'function.crypt.php',
|
||||
1 => 'crypt',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
0 => 'function.echo.php',
|
||||
1 => 'echo',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
0 => 'function.explode.php',
|
||||
1 => 'explode',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
0 => 'function.fprintf.php',
|
||||
1 => 'fprintf',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
0 => 'function.get-html-translation-table.php',
|
||||
1 => 'get_html_translation_table',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
0 => 'function.hebrev.php',
|
||||
1 => 'hebrev',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
0 => 'function.hebrevc.php',
|
||||
1 => 'hebrevc',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
0 => 'function.hex2bin.php',
|
||||
1 => 'hex2bin',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
0 => 'function.html-entity-decode.php',
|
||||
1 => 'html_entity_decode',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
0 => 'function.htmlentities.php',
|
||||
1 => 'htmlentities',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
0 => 'function.htmlspecialchars-decode.php',
|
||||
1 => 'htmlspecialchars_decode',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
0 => 'function.htmlspecialchars.php',
|
||||
1 => 'htmlspecialchars',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
0 => 'function.implode.php',
|
||||
1 => 'implode',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
0 => 'function.join.php',
|
||||
1 => 'join',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
0 => 'function.lcfirst.php',
|
||||
1 => 'lcfirst',
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
0 => 'function.levenshtein.php',
|
||||
1 => 'levenshtein',
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
0 => 'function.localeconv.php',
|
||||
1 => 'localeconv',
|
||||
),
|
||||
28 =>
|
||||
array (
|
||||
0 => 'function.ltrim.php',
|
||||
1 => 'ltrim',
|
||||
),
|
||||
29 =>
|
||||
array (
|
||||
0 => 'function.md5-file.php',
|
||||
1 => 'md5_file',
|
||||
),
|
||||
30 =>
|
||||
array (
|
||||
0 => 'function.md5.php',
|
||||
1 => 'md5',
|
||||
),
|
||||
31 =>
|
||||
array (
|
||||
0 => 'function.metaphone.php',
|
||||
1 => 'metaphone',
|
||||
),
|
||||
32 =>
|
||||
array (
|
||||
0 => 'function.money-format.php',
|
||||
1 => 'money_format',
|
||||
),
|
||||
33 =>
|
||||
array (
|
||||
0 => 'function.nl-langinfo.php',
|
||||
1 => 'nl_langinfo',
|
||||
),
|
||||
34 =>
|
||||
array (
|
||||
0 => 'function.nl2br.php',
|
||||
1 => 'nl2br',
|
||||
),
|
||||
35 =>
|
||||
array (
|
||||
0 => 'function.number-format.php',
|
||||
1 => 'number_format',
|
||||
),
|
||||
36 =>
|
||||
array (
|
||||
0 => 'function.ord.php',
|
||||
1 => 'ord',
|
||||
),
|
||||
37 =>
|
||||
array (
|
||||
0 => 'function.parse-str.php',
|
||||
1 => 'parse_str',
|
||||
),
|
||||
38 =>
|
||||
array (
|
||||
0 => 'function.print.php',
|
||||
1 => 'print',
|
||||
),
|
||||
39 =>
|
||||
array (
|
||||
0 => 'function.printf.php',
|
||||
1 => 'printf',
|
||||
),
|
||||
40 =>
|
||||
array (
|
||||
0 => 'function.quoted-printable-decode.php',
|
||||
1 => 'quoted_printable_decode',
|
||||
),
|
||||
41 =>
|
||||
array (
|
||||
0 => 'function.quoted-printable-encode.php',
|
||||
1 => 'quoted_printable_encode',
|
||||
),
|
||||
42 =>
|
||||
array (
|
||||
0 => 'function.quotemeta.php',
|
||||
1 => 'quotemeta',
|
||||
),
|
||||
43 =>
|
||||
array (
|
||||
0 => 'function.rtrim.php',
|
||||
1 => 'rtrim',
|
||||
),
|
||||
44 =>
|
||||
array (
|
||||
0 => 'function.setlocale.php',
|
||||
1 => 'setlocale',
|
||||
),
|
||||
45 =>
|
||||
array (
|
||||
0 => 'function.sha1-file.php',
|
||||
1 => 'sha1_file',
|
||||
),
|
||||
46 =>
|
||||
array (
|
||||
0 => 'function.sha1.php',
|
||||
1 => 'sha1',
|
||||
),
|
||||
47 =>
|
||||
array (
|
||||
0 => 'function.similar-text.php',
|
||||
1 => 'similar_text',
|
||||
),
|
||||
48 =>
|
||||
array (
|
||||
0 => 'function.soundex.php',
|
||||
1 => 'soundex',
|
||||
),
|
||||
49 =>
|
||||
array (
|
||||
0 => 'function.sprintf.php',
|
||||
1 => 'sprintf',
|
||||
),
|
||||
50 =>
|
||||
array (
|
||||
0 => 'function.sscanf.php',
|
||||
1 => 'sscanf',
|
||||
),
|
||||
51 =>
|
||||
array (
|
||||
0 => 'function.str-getcsv.php',
|
||||
1 => 'str_getcsv',
|
||||
),
|
||||
52 =>
|
||||
array (
|
||||
0 => 'function.str-ireplace.php',
|
||||
1 => 'str_ireplace',
|
||||
),
|
||||
53 =>
|
||||
array (
|
||||
0 => 'function.str-pad.php',
|
||||
1 => 'str_pad',
|
||||
),
|
||||
54 =>
|
||||
array (
|
||||
0 => 'function.str-repeat.php',
|
||||
1 => 'str_repeat',
|
||||
),
|
||||
55 =>
|
||||
array (
|
||||
0 => 'function.str-replace.php',
|
||||
1 => 'str_replace',
|
||||
),
|
||||
56 =>
|
||||
array (
|
||||
0 => 'function.str-rot13.php',
|
||||
1 => 'str_rot13',
|
||||
),
|
||||
57 =>
|
||||
array (
|
||||
0 => 'function.str-shuffle.php',
|
||||
1 => 'str_shuffle',
|
||||
),
|
||||
58 =>
|
||||
array (
|
||||
0 => 'function.str-split.php',
|
||||
1 => 'str_split',
|
||||
),
|
||||
59 =>
|
||||
array (
|
||||
0 => 'function.str-word-count.php',
|
||||
1 => 'str_word_count',
|
||||
),
|
||||
60 =>
|
||||
array (
|
||||
0 => 'function.strcasecmp.php',
|
||||
1 => 'strcasecmp',
|
||||
),
|
||||
61 =>
|
||||
array (
|
||||
0 => 'function.strchr.php',
|
||||
1 => 'strchr',
|
||||
),
|
||||
62 =>
|
||||
array (
|
||||
0 => 'function.strcmp.php',
|
||||
1 => 'strcmp',
|
||||
),
|
||||
63 =>
|
||||
array (
|
||||
0 => 'function.strcoll.php',
|
||||
1 => 'strcoll',
|
||||
),
|
||||
64 =>
|
||||
array (
|
||||
0 => 'function.strcspn.php',
|
||||
1 => 'strcspn',
|
||||
),
|
||||
65 =>
|
||||
array (
|
||||
0 => 'function.strip-tags.php',
|
||||
1 => 'strip_tags',
|
||||
),
|
||||
66 =>
|
||||
array (
|
||||
0 => 'function.stripcslashes.php',
|
||||
1 => 'stripcslashes',
|
||||
),
|
||||
67 =>
|
||||
array (
|
||||
0 => 'function.stripos.php',
|
||||
1 => 'stripos',
|
||||
),
|
||||
68 =>
|
||||
array (
|
||||
0 => 'function.stripslashes.php',
|
||||
1 => 'stripslashes',
|
||||
),
|
||||
69 =>
|
||||
array (
|
||||
0 => 'function.stristr.php',
|
||||
1 => 'stristr',
|
||||
),
|
||||
70 =>
|
||||
array (
|
||||
0 => 'function.strlen.php',
|
||||
1 => 'strlen',
|
||||
),
|
||||
71 =>
|
||||
array (
|
||||
0 => 'function.strnatcasecmp.php',
|
||||
1 => 'strnatcasecmp',
|
||||
),
|
||||
72 =>
|
||||
array (
|
||||
0 => 'function.strnatcmp.php',
|
||||
1 => 'strnatcmp',
|
||||
),
|
||||
73 =>
|
||||
array (
|
||||
0 => 'function.strncasecmp.php',
|
||||
1 => 'strncasecmp',
|
||||
),
|
||||
74 =>
|
||||
array (
|
||||
0 => 'function.strncmp.php',
|
||||
1 => 'strncmp',
|
||||
),
|
||||
75 =>
|
||||
array (
|
||||
0 => 'function.strpbrk.php',
|
||||
1 => 'strpbrk',
|
||||
),
|
||||
76 =>
|
||||
array (
|
||||
0 => 'function.strpos.php',
|
||||
1 => 'strpos',
|
||||
),
|
||||
77 =>
|
||||
array (
|
||||
0 => 'function.strrchr.php',
|
||||
1 => 'strrchr',
|
||||
),
|
||||
78 =>
|
||||
array (
|
||||
0 => 'function.strrev.php',
|
||||
1 => 'strrev',
|
||||
),
|
||||
79 =>
|
||||
array (
|
||||
0 => 'function.strripos.php',
|
||||
1 => 'strripos',
|
||||
),
|
||||
80 =>
|
||||
array (
|
||||
0 => 'function.strrpos.php',
|
||||
1 => 'strrpos',
|
||||
),
|
||||
81 =>
|
||||
array (
|
||||
0 => 'function.strspn.php',
|
||||
1 => 'strspn',
|
||||
),
|
||||
82 =>
|
||||
array (
|
||||
0 => 'function.strstr.php',
|
||||
1 => 'strstr',
|
||||
),
|
||||
83 =>
|
||||
array (
|
||||
0 => 'function.strtok.php',
|
||||
1 => 'strtok',
|
||||
),
|
||||
84 =>
|
||||
array (
|
||||
0 => 'function.strtolower.php',
|
||||
1 => 'strtolower',
|
||||
),
|
||||
85 =>
|
||||
array (
|
||||
0 => 'function.strtoupper.php',
|
||||
1 => 'strtoupper',
|
||||
),
|
||||
86 =>
|
||||
array (
|
||||
0 => 'function.strtr.php',
|
||||
1 => 'strtr',
|
||||
),
|
||||
87 =>
|
||||
array (
|
||||
0 => 'function.substr-compare.php',
|
||||
1 => 'substr_compare',
|
||||
),
|
||||
88 =>
|
||||
array (
|
||||
0 => 'function.substr-count.php',
|
||||
1 => 'substr_count',
|
||||
),
|
||||
89 =>
|
||||
array (
|
||||
0 => 'function.substr-replace.php',
|
||||
1 => 'substr_replace',
|
||||
),
|
||||
90 =>
|
||||
array (
|
||||
0 => 'function.substr.php',
|
||||
1 => 'substr',
|
||||
),
|
||||
91 =>
|
||||
array (
|
||||
0 => 'function.trim.php',
|
||||
1 => 'trim',
|
||||
),
|
||||
92 =>
|
||||
array (
|
||||
0 => 'function.ucfirst.php',
|
||||
1 => 'ucfirst',
|
||||
),
|
||||
93 =>
|
||||
array (
|
||||
0 => 'function.ucwords.php',
|
||||
1 => 'ucwords',
|
||||
),
|
||||
94 =>
|
||||
array (
|
||||
0 => 'function.vfprintf.php',
|
||||
1 => 'vfprintf',
|
||||
),
|
||||
95 =>
|
||||
array (
|
||||
0 => 'function.vprintf.php',
|
||||
1 => 'vprintf',
|
||||
),
|
||||
96 =>
|
||||
array (
|
||||
0 => 'function.vsprintf.php',
|
||||
1 => 'vsprintf',
|
||||
),
|
||||
97 =>
|
||||
array (
|
||||
0 => 'function.wordwrap.php',
|
||||
1 => 'wordwrap',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'book.strings.php',
|
||||
1 => 'Strings',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'refs.basic.text.php',
|
||||
1 => 'Text Processing',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'funcref.php',
|
||||
1 => 'Function Reference',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
);
|
||||
65
manual/en/toc/refs.basic.vartype.inc
Normal file
65
manual/en/toc/refs.basic.vartype.inc
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'book.array.php',
|
||||
1 => 'Arrays',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'book.classobj.php',
|
||||
1 => 'Classes/Objects',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'book.classkit.php',
|
||||
1 => 'Classkit',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'book.ctype.php',
|
||||
1 => 'Ctype',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'book.filter.php',
|
||||
1 => 'Filter',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'book.funchand.php',
|
||||
1 => 'Function Handling',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'book.objaggregation.php',
|
||||
1 => 'Object Aggregation',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'book.quickhash.php',
|
||||
1 => 'Quickhash',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'book.reflection.php',
|
||||
1 => 'Reflection',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'book.var.php',
|
||||
1 => 'Variable handling',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'funcref.php',
|
||||
1 => 'Function Reference',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
);
|
||||
25
manual/en/toc/reserved.exceptions.inc
Normal file
25
manual/en/toc/reserved.exceptions.inc
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'class.exception.php',
|
||||
1 => 'Exception',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'class.errorexception.php',
|
||||
1 => 'ErrorException',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => 'Language Reference',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
);
|
||||
90
manual/ja/book.var.php
Normal file
90
manual/ja/book.var.php
Normal file
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/refs.basic.vartype.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'ja',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'book.var.php',
|
||||
1 => '変数操作',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'refs.basic.vartype.php',
|
||||
1 => '変数・データ型関連',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'class.reflectionexception.php',
|
||||
1 => 'ReflectionException',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'intro.var.php',
|
||||
1 => '導入',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
'extra_header_links' =>
|
||||
array (
|
||||
'rel' => 'alternate',
|
||||
'href' => '/manual/en/feeds/book.var.atom',
|
||||
'type' => 'application/atom+xml',
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="book.var" class="book">
|
||||
|
||||
<h1 class="title">変数操作</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="chunklist chunklist_book"><li><a href="intro.var.php">導入</a></li><li><a href="var.setup.php">インストール/設定</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="var.requirements.php">要件</a></li><li><a href="var.installation.php">インストール手順</a></li><li><a href="var.configuration.php">実行時設定</a></li><li><a href="var.resources.php">リソース型</a></li></ul></li><li><a href="var.constants.php">定義済み定数</a></li><li><a href="ref.var.php">変数操作 関数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.boolval.php">boolval</a> — 変数の boolean としての値を取得する</li><li><a href="function.debug-zval-dump.php">debug_zval_dump</a> — 内部的な Zend の値を表す文字列をダンプする</li><li><a href="function.doubleval.php">doubleval</a> — floatval のエイリアス</li><li><a href="function.empty.php">empty</a> — 変数が空であるかどうかを検査する</li><li><a href="function.floatval.php">floatval</a> — 変数の float 値を取得する</li><li><a href="function.get-defined-vars.php">get_defined_vars</a> — 全ての定義済の変数を配列で返す</li><li><a href="function.get-resource-type.php">get_resource_type</a> — リソース型を返す</li><li><a href="function.gettype.php">gettype</a> — 変数の型を取得する</li><li><a href="function.import-request-variables.php">import_request_variables</a> — GET/POST/Cookie 変数をグローバルスコープにインポートする</li><li><a href="function.intval.php">intval</a> — 変数の整数としての値を取得する</li><li><a href="function.is-array.php">is_array</a> — 変数が配列かどうかを検査する</li><li><a href="function.is-bool.php">is_bool</a> — 変数が boolean であるかを調べる</li><li><a href="function.is-callable.php">is_callable</a> — 引数が、関数としてコール可能な構造であるかどうかを調べる</li><li><a href="function.is-double.php">is_double</a> — is_float のエイリアス</li><li><a href="function.is-float.php">is_float</a> — 変数の型が float かどうか調べる</li><li><a href="function.is-int.php">is_int</a> — 変数が整数型かどうかを検査する</li><li><a href="function.is-integer.php">is_integer</a> — is_int のエイリアス</li><li><a href="function.is-long.php">is_long</a> — is_int のエイリアス</li><li><a href="function.is-null.php">is_null</a> — 変数が NULL かどうか調べる</li><li><a href="function.is-numeric.php">is_numeric</a> — 変数が数字または数値形式の文字列であるかを調べる</li><li><a href="function.is-object.php">is_object</a> — 変数がオブジェクトかどうかを検査する</li><li><a href="function.is-real.php">is_real</a> — is_float のエイリアス</li><li><a href="function.is-resource.php">is_resource</a> — 変数がリソースかどうかを調べる</li><li><a href="function.is-scalar.php">is_scalar</a> — 変数がスカラかどうかを調べる</li><li><a href="function.is-string.php">is_string</a> — 変数の型が文字列かどうかを調べる</li><li><a href="function.isset.php">isset</a> — 変数がセットされていること、そして NULL でないことを検査する</li><li><a href="function.print-r.php">print_r</a> — 指定した変数に関する情報を解りやすく出力する</li><li><a href="function.serialize.php">serialize</a> — 値の保存可能な表現を生成する</li><li><a href="function.settype.php">settype</a> — 変数の型をセットする</li><li><a href="function.strval.php">strval</a> — 変数の文字列としての値を取得する</li><li><a href="function.unserialize.php">unserialize</a> — 保存用表現から PHP の値を生成する</li><li><a href="function.unset.php">unset</a> — 指定した変数の割当を解除する</li><li><a href="function.var-dump.php">var_dump</a> — 変数に関する情報をダンプする</li><li><a href="function.var-export.php">var_export</a> — 変数の文字列表現を出力または返す</li></ul></li></ul></div><?php manual_footer(); ?>
|
||||
302
manual/ja/class.exception.php
Normal file
302
manual/ja/class.exception.php
Normal file
@@ -0,0 +1,302 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/reserved.exceptions.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'ja',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'class.exception.php',
|
||||
1 => 'Exception',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'reserved.exceptions.php',
|
||||
1 => '定義済みの例外',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'reserved.exceptions.php',
|
||||
1 => '定義済みの例外',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'exception.construct.php',
|
||||
1 => 'Exception::__construct',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
'extra_header_links' =>
|
||||
array (
|
||||
'rel' => 'alternate',
|
||||
'href' => '/manual/en/feeds/class.exception.atom',
|
||||
'type' => 'application/atom+xml',
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="class.exception" class="reference">
|
||||
<h1 class="title">Exception</h1>
|
||||
|
||||
|
||||
<div class="partintro"><p class="verinfo">(PHP 5 >= 5.1.0)</p>
|
||||
|
||||
|
||||
<div class="section" id="exception.intro">
|
||||
<h2 class="title">導入</h2>
|
||||
<p class="para">
|
||||
<span class="ooclass"><strong class="classname">Exception</strong></span>
|
||||
は、すべての例外の基底クラスです。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section" id="exception.synopsis">
|
||||
<h2 class="title">クラス概要</h2>
|
||||
|
||||
|
||||
<div class="classsynopsis">
|
||||
<div class="ooclass"></div>
|
||||
|
||||
|
||||
<div class="classsynopsisinfo">
|
||||
<span class="ooclass">
|
||||
<strong class="classname">Exception</strong>
|
||||
</span>
|
||||
{</div>
|
||||
|
||||
|
||||
<div class="classsynopsisinfo classsynopsisinfo_comment">/* プロパティ */</div>
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">string</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.message">$<var class="varname">message</var></a></var>
|
||||
;</div>
|
||||
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">int</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.code">$<var class="varname">code</var></a></var>
|
||||
;</div>
|
||||
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">string</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.file">$<var class="varname">file</var></a></var>
|
||||
;</div>
|
||||
|
||||
<div class="fieldsynopsis">
|
||||
<span class="modifier">protected</span>
|
||||
<span class="type">int</span>
|
||||
<var class="varname"><a href="class.exception.php#exception.props.line">$<var class="varname">line</var></a></var>
|
||||
;</div>
|
||||
|
||||
|
||||
<div class="classsynopsisinfo classsynopsisinfo_comment">/* メソッド */</div>
|
||||
<div class="constructorsynopsis dc-description">
|
||||
<span class="modifier">public</span> <span class="methodname"><a href="exception.construct.php" class="methodname">__construct</a></span>
|
||||
([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$message</code><span class="initializer"> = ""</span></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$code</code><span class="initializer"> = 0</span></span>
|
||||
[, <span class="methodparam"><span class="type"><a href="class.exception.php" class="type Exception">Exception</a></span> <code class="parameter">$previous</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
|
||||
]]] )</div>
|
||||
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.getmessage.php" class="methodname">getMessage</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">Exception</span> <span class="methodname"><a href="exception.getprevious.php" class="methodname">getPrevious</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">mixed</span> <span class="methodname"><a href="exception.getcode.php" class="methodname">getCode</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.getfile.php" class="methodname">getFile</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="exception.getline.php" class="methodname">getLine</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><a href="exception.gettrace.php" class="methodname">getTrace</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.gettraceasstring.php" class="methodname">getTraceAsString</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.tostring.php" class="methodname">__toString</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="modifier">final</span> <span class="modifier">private</span> <span class="type">void</span> <span class="methodname"><a href="exception.clone.php" class="methodname">__clone</a></span>
|
||||
( <span class="methodparam">void</span>
|
||||
)</div>
|
||||
|
||||
}</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section" id="exception.props">
|
||||
<h2 class="title">プロパティ</h2>
|
||||
<dl>
|
||||
|
||||
<dt id="exception.props.message">
|
||||
<span class="term"><var class="varname"><var class="varname">message</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">例外メッセージ</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="exception.props.code">
|
||||
<span class="term"><var class="varname"><var class="varname">code</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">例外コード</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="exception.props.file">
|
||||
<span class="term"><var class="varname"><var class="varname">file</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">例外が作られたファイル名</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="exception.props.line">
|
||||
<span class="term"><var class="varname"><var class="varname">line</var></var></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">例外が作られた行</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>目次</h2><ul class="chunklist chunklist_reference"><li><a href="exception.construct.php">Exception::__construct</a> — 例外を作成する</li><li><a href="exception.getmessage.php">Exception::getMessage</a> — 例外メッセージを取得する</li><li><a href="exception.getprevious.php">Exception::getPrevious</a> — 前の例外を返す</li><li><a href="exception.getcode.php">Exception::getCode</a> — 例外コードを取得する</li><li><a href="exception.getfile.php">Exception::getFile</a> — 例外が発生したファイルを取得する</li><li><a href="exception.getline.php">Exception::getLine</a> — 例外が発生した行を取得する</li><li><a href="exception.gettrace.php">Exception::getTrace</a> — スタックトレースを取得する</li><li><a href="exception.gettraceasstring.php">Exception::getTraceAsString</a> — スタックトレースを文字列で取得する</li><li><a href="exception.tostring.php">Exception::__toString</a> — 例外の文字列表現</li><li><a href="exception.clone.php">Exception::__clone</a> — 例外をコピーする</li></ul>
|
||||
</div>
|
||||
<?php manual_footer(); ?>
|
||||
443
manual/ja/context.http.php
Normal file
443
manual/ja/context.http.php
Normal file
@@ -0,0 +1,443 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/context.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'ja',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'context.http.php',
|
||||
1 => 'HTTP コンテキストオプション',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'context.php',
|
||||
1 => 'コンテキストオプションとパラメータ',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'context.socket.php',
|
||||
1 => 'ソケットコンテキストオプション',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'context.ftp.php',
|
||||
1 => 'FTP コンテキストオプション',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="context.http" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">HTTP コンテキストオプション</h1>
|
||||
<p class="refpurpose"><span class="refname">HTTP コンテキストオプション</span> — <span class="dc-title">HTTP コンテキストオプションの一覧</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-context.http-description">
|
||||
<h3 class="title">説明</h3>
|
||||
<p class="para">
|
||||
<em>http://</em> および <em>https://</em>
|
||||
トランスポート用のコンテキストオプションです。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 options" id="refsect1-context.http-options">
|
||||
<h3 class="title">オプション</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
<dt id="context.http.method">
|
||||
<span class="term">
|
||||
<em><code class="parameter">method</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
リモートサーバーでサポートされる <strong><code>GET</code></strong>、
|
||||
<strong><code>POST</code></strong> あるいはその他の HTTP メソッド。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトは <strong><code>GET</code></strong> です。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.header">
|
||||
<span class="term">
|
||||
<em><code class="parameter">header</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
リクエストに付加されるヘッダ。ここで指定した値が
|
||||
(<em>User-agent:</em>、<em>Host:</em>、
|
||||
および <em>Authentication:</em> などの)
|
||||
他の値を上書きすることもあります。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.user-agent">
|
||||
<span class="term">
|
||||
<em><code class="parameter">user_agent</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
<em>User-Agent:</em> ヘッダとして送信する値。上で説明した
|
||||
<em>header</em> オプションで user-agent が
|
||||
定義されて<em class="emphasis">いない</em>場合のみ使用されます。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトでは、<var class="filename">php.ini</var> の
|
||||
<a href="filesystem.configuration.php#ini.user-agent" class="link">user_agent</a>
|
||||
の設定内容を使用します。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.content">
|
||||
<span class="term">
|
||||
<em><code class="parameter">content</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
ヘッダの後に送信する追加データ。通常、POST または PUT
|
||||
リクエストの際に使用されます。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.proxy">
|
||||
<span class="term">
|
||||
<em><code class="parameter">proxy</code></em>
|
||||
<span class="type"><a href="language.types.string.php" class="type string">string</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
プロキシサーバーを示す URI (例:
|
||||
<em>tcp://proxy.example.com:5100</em>)。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.request-fulluri">
|
||||
<span class="term">
|
||||
<em><code class="parameter">request_fulluri</code></em>
|
||||
<span class="type"><a href="language.types.boolean.php" class="type boolean">boolean</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
<strong><code>TRUE</code></strong> を指定すると、リクエストを生成する際に完全な URI
|
||||
(<em>GET http://www.example.com/path/to/file.html HTTP/1.0</em>)
|
||||
が用いられます。これは標準のリクエストフォーマットではありませんが、
|
||||
このようなフォーマットを要求するプロキシサーバーも存在します。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトは <strong><code>FALSE</code></strong> です。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.follow-location">
|
||||
<span class="term">
|
||||
<em><code class="parameter">follow_location</code></em>
|
||||
<span class="type"><a href="language.types.integer.php" class="type integer">integer</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
<em>Location</em> のリダイレクトをたどります。
|
||||
<em>0</em> で無効にできます。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトは <em>1</em> です。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.max-redirects">
|
||||
<span class="term">
|
||||
<em><code class="parameter">max_redirects</code></em>
|
||||
<span class="type"><a href="language.types.integer.php" class="type integer">integer</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
リダイレクトをたどる最大数。値が <em>1</em> 以下の場合は
|
||||
リダイレクトをたどらないことを意味します。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトは <em>20</em> です。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.protocol-version">
|
||||
<span class="term">
|
||||
<em><code class="parameter">protocol_version</code></em>
|
||||
<span class="type"><a href="language.types.float.php" class="type float">float</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
HTTP プロトコルのバージョン。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトは <em>1.0</em> です。
|
||||
</p>
|
||||
<blockquote class="note"><p><strong class="note">注意</strong>:
|
||||
<p class="para">
|
||||
5.3.0 より前のバージョンの PHP では chunked transfer decoding を実装していません。
|
||||
この値を <em>1.1</em> に設定するなら、
|
||||
<em>1.1</em> 準拠にするのは自分の責任となります。
|
||||
</p>
|
||||
</p></blockquote>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.timeout">
|
||||
<span class="term">
|
||||
<em><code class="parameter">timeout</code></em>
|
||||
<span class="type"><a href="language.types.float.php" class="type float">float</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
読み込みタイムアウト秒数を <span class="type"><a href="language.types.float.php" class="type float">float</a></span> (例
|
||||
<em>10.5</em>) で指定します。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトでは <var class="filename">php.ini</var> 設定
|
||||
<a href="filesystem.configuration.php#ini.default-socket-timeout" class="link">default_socket_timeout</a>
|
||||
の値を使用します。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt id="context.http.ignore-errors">
|
||||
<span class="term">
|
||||
<em><code class="parameter">ignore_errors</code></em>
|
||||
<span class="type"><a href="language.types.boolean.php" class="type boolean">boolean</a></span>
|
||||
</span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
ステータスコードが失敗を意味する場合でもコンテンツを取得します。
|
||||
</p>
|
||||
<p class="para">
|
||||
デフォルトは <strong><code>FALSE</code></strong> です。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 changelog" id="refsect1-context.http-changelog">
|
||||
<h3 class="title">変更履歴</h3>
|
||||
<p class="para">
|
||||
<table class="doctable informaltable">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>バージョン</th>
|
||||
<th>説明</th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody class="tbody">
|
||||
<tr>
|
||||
<td>5.3.4</td>
|
||||
<td>
|
||||
<em><code class="parameter">follow_location</code></em> が追加されました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.3.0</td>
|
||||
<td>
|
||||
<em><code class="parameter">protocol_version</code></em> に
|
||||
<em>1.1</em> を設定した場合に、
|
||||
chuned transfer decoding をサポートするようになりました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.2.10</td>
|
||||
<td>
|
||||
<em><code class="parameter">ignore_errors</code></em> が追加されました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.2.10</td>
|
||||
<td>
|
||||
<em><code class="parameter">header</code></em> に数値添字の配列を使用できるようになりました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.2.1</td>
|
||||
<td>
|
||||
<em><code class="parameter">timeout</code></em> が追加されました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.1.0</td>
|
||||
<td>
|
||||
HTTP プロキシを使用した HTTPS のプロキシが追加されました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.1.0</td>
|
||||
<td>
|
||||
<em><code class="parameter">max_redirects</code></em> が追加されました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5.1.0</td>
|
||||
<td>
|
||||
<em><code class="parameter">protocol_version</code></em> が追加されました。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 examples" id="refsect1-context.http-examples">
|
||||
<h3 class="title">例</h3>
|
||||
<p class="para">
|
||||
<div class="example" id="context.http.example-post">
|
||||
<p><strong>例1 ページの取得と POST データの送信</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /><br />$postdata </span><span style="color: #007700">= </span><span style="color: #0000BB">http_build_query</span><span style="color: #007700">(<br /> array(<br /> </span><span style="color: #DD0000">'var1' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'some content'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'var2' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'doh'<br /> </span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$opts </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'http' </span><span style="color: #007700">=><br /> array(<br /> </span><span style="color: #DD0000">'method' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'POST'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'header' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Content-type: application/x-www-form-urlencoded'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'content' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$postdata<br /> </span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context </span><span style="color: #007700">= </span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$result </span><span style="color: #007700">= </span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #DD0000">'http://example.com/submit.php'</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
<p class="para">
|
||||
<div class="example" id="context.http.example-fetch-ignore-redirect">
|
||||
<p><strong>例2 リダイレクトを無視し、ヘッダとコンテンツの取得</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /><br />$url </span><span style="color: #007700">= </span><span style="color: #DD0000">"http://www.example.org/header.php"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">$opts </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'http' </span><span style="color: #007700">=><br /> array(<br /> </span><span style="color: #DD0000">'method' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'max_redirects' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'0'</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">'ignore_errors' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'1'<br /> </span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context </span><span style="color: #007700">= </span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$stream </span><span style="color: #007700">= </span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'r'</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// ヘッダ情報およびストリームのメタデータ<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /><br /></span><span style="color: #FF8000">// $url の実際のデータ<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 notes" id="refsect1-context.http-notes">
|
||||
<h3 class="title">注意</h3>
|
||||
<blockquote class="note"><p><strong class="note">注意</strong>:
|
||||
<strong>基盤となるソケットストリームのコンテキストオプション</strong><br />
|
||||
<span class="simpara">
|
||||
これ以外のコンテキストオプションが
|
||||
<a href="transports.inet.php" class="link">基盤となるトランスポート</a>
|
||||
でサポートされています。
|
||||
<em>http://</em> ストリームの場合は、<em>tcp://</em>
|
||||
のコンテキストオプションを参照ください。
|
||||
<em>https://</em> ストリームの場合は、<em>ssl://</em>
|
||||
のコンテキストオプションを参照ください。
|
||||
</span>
|
||||
</p></blockquote>
|
||||
<blockquote class="note"><p><strong class="note">注意</strong>:
|
||||
<strong>HTTP ステータスライン</strong><br />
|
||||
<span class="simpara">
|
||||
このストリームラッパーがリダイレクトをたどると、
|
||||
<span class="function"><a href="function.stream-get-meta-data.php" class="function">stream_get_meta_data()</a></span> が返す
|
||||
<em>wrapper_data</em> のインデックス <em>0</em>
|
||||
の内容が必ずしもそのコンテンツの HTTP ステータスラインであるとは限らなくなります。
|
||||
</span>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
array (
|
||||
'wrapper_data' =>
|
||||
array (
|
||||
0 => 'HTTP/1.0 301 Moved Permantenly',
|
||||
1 => 'Cache-Control: no-cache',
|
||||
2 => 'Connection: close',
|
||||
3 => 'Location: http://example.com/foo.jpg',
|
||||
4 => 'HTTP/1.1 200 OK',
|
||||
...
|
||||
</pre></div>
|
||||
</div>
|
||||
<span class="simpara">
|
||||
最初のリクエストが <em>301</em> (permanent redirect)
|
||||
を返したので、ストリームラッパーが自動的にリダイレクト先をたどり、レスポンス
|
||||
<em>200</em> (インデックス = <em>4</em>)
|
||||
を取得しました。
|
||||
</span>
|
||||
</p></blockquote>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-context.http-seealso">
|
||||
<h3 class="title">参考</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"><a href="wrappers.http.php" class="xref">http://</a></li>
|
||||
<li class="member"><a href="context.socket.php" class="xref">ソケットコンテキストオプション</a></li>
|
||||
<li class="member"><a href="context.ssl.php" class="xref">SSL コンテキストオプション</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><?php manual_footer(); ?>
|
||||
118
manual/ja/funcref.php
Normal file
118
manual/ja/funcref.php
Normal file
File diff suppressed because one or more lines are too long
201
manual/ja/function.strpos.php
Normal file
201
manual/ja/function.strpos.php
Normal file
@@ -0,0 +1,201 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/ref.strings.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'ja',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'function.strpos.php',
|
||||
1 => 'strpos',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'ref.strings.php',
|
||||
1 => 'String 関数',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'function.strpbrk.php',
|
||||
1 => 'strpbrk',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'function.strrchr.php',
|
||||
1 => 'strrchr',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="function.strpos" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">strpos</h1>
|
||||
<p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">strpos</span> — <span class="dc-title">文字列内の部分文字列が最初に現れる場所を見つける</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.strpos-description">
|
||||
<h3 class="title">説明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>strpos</strong></span>
|
||||
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$haystack</code></span>
|
||||
, <span class="methodparam"><span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$needle</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$offset</code><span class="initializer"> = 0</span></span>
|
||||
] )</div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
文字列 <em><code class="parameter">haystack</code></em> の中で、
|
||||
<em><code class="parameter">needle</code></em> が最初に現れる位置を探します。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.strpos-parameters">
|
||||
<h3 class="title">パラメータ</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
<dt>
|
||||
|
||||
<span class="term"><em><code class="parameter">haystack</code></em></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
検索を行う文字列。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt>
|
||||
|
||||
<span class="term"><em><code class="parameter">needle</code></em></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
<em><code class="parameter">needle</code></em> が文字列でない場合は、
|
||||
それを整数に変換し、その番号に対応する文字として扱います。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
<dt>
|
||||
|
||||
<span class="term"><em><code class="parameter">offset</code></em></span>
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
指定すると、文字列内での検索開始位置がその位置になります。
|
||||
<span class="function"><a href="function.strrpos.php" class="function">strrpos()</a></span> や
|
||||
<span class="function"><a href="function.strripos.php" class="function">strripos()</a></span> と異なり、負の数は指定できません。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.strpos-returnvalues">
|
||||
<h3 class="title">返り値</h3>
|
||||
<p class="para">
|
||||
needle が見つかった位置を、
|
||||
<em><code class="parameter">haystack</code></em> 文字列の先頭 (offset の値とは無関係) からの相対位置で返します。
|
||||
文字列の開始位置は 0 であり、1 ではないことに注意しましょう。
|
||||
</p>
|
||||
<p class="para">
|
||||
needle が見つからない場合は <strong><code>FALSE</code></strong> を返します。
|
||||
</p>
|
||||
<div class="warning"><strong class="warning">警告</strong><p class="simpara">この関数は論理値
|
||||
<strong><code>FALSE</code></strong> を返す可能性がありますが、<strong><code>FALSE</code></strong> として評価される値を返す可能性もあります。
|
||||
詳細については <a href="language.types.boolean.php" class="link">論理値</a>の
|
||||
セクションを参照してください。この関数の返り値を調べるには
|
||||
<a href="language.operators.comparison.php" class="link">===演算子</a> を
|
||||
使用してください。</p></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 examples" id="refsect1-function.strpos-examples">
|
||||
<h3 class="title">例</h3>
|
||||
<p class="para">
|
||||
<div class="example" id="example-4884">
|
||||
<p><strong>例1 <em>===</em> の使用</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br />$mystring </span><span style="color: #007700">= </span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme </span><span style="color: #007700">= </span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos </span><span style="color: #007700">= </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">, </span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// === を使用していることに注目しましょう。単純に == を使ったのでは<br />// 期待通りに動作しません。なぜなら 'a' が 0 番目 (最初) の文字だからです。<br /></span><span style="color: #007700">if (</span><span style="color: #0000BB">$pos </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">"文字列 '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' は、文字列 '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">' の中で見つかりませんでした"</span><span style="color: #007700">;<br />} else {<br /> echo </span><span style="color: #DD0000">"文字列 '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' が文字列 '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">' の中で見つかりました"</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">" 見つかった位置は </span><span style="color: #0000BB">$pos</span><span style="color: #DD0000"> です"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="example" id="example-4885">
|
||||
<p><strong>例2 !== の使用</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br />$mystring </span><span style="color: #007700">= </span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme </span><span style="color: #007700">= </span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos </span><span style="color: #007700">= </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">, </span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// !== 演算子も使用可能です。ここで != を使っても期待通りに動作しません。<br />// なぜなら 'a' が 0 番目の文字だからです。(0 != false) を評価すると<br />// false になってしまいます。<br /></span><span style="color: #007700">if (</span><span style="color: #0000BB">$pos </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">"文字列 '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' が文字列 '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">' の中で見つかりました"</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">" 見つかった位置は </span><span style="color: #0000BB">$pos</span><span style="color: #DD0000"> です"</span><span style="color: #007700">;<br />} else {<br /> echo </span><span style="color: #DD0000">"文字列 '</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">' は、文字列 '</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">' の中で見つかりませんでした"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="example" id="example-4886">
|
||||
<p><strong>例3 オフセットの使用</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">// オフセット以前の内容を無視して文字を探すこともできます。<br /></span><span style="color: #0000BB">$newstring </span><span style="color: #007700">= </span><span style="color: #DD0000">'abcdef abcdef'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos </span><span style="color: #007700">= </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$newstring</span><span style="color: #007700">, </span><span style="color: #DD0000">'a'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">); </span><span style="color: #FF8000">// $pos は 0 ではなく 7 となります。<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 notes" id="refsect1-function.strpos-notes">
|
||||
<h3 class="title">注意</h3>
|
||||
<blockquote class="note"><p><strong class="note">注意</strong>: <span class="simpara">この関数はバイナリデータに対応しています。
|
||||
</span></p></blockquote>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-function.strpos-seealso">
|
||||
<h3 class="title">参考</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"> <span class="function"><a href="function.stripos.php" class="function" rel="rdfs-seeAlso">stripos()</a> - 大文字小文字を区別せずに文字列が最初に現れる位置を探す</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strrpos.php" class="function" rel="rdfs-seeAlso">strrpos()</a> - 文字列中に、ある部分文字列が最後に現れる場所を探す</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strripos.php" class="function" rel="rdfs-seeAlso">strripos()</a> - 文字列中で、特定の(大文字小文字を区別しない)文字列が最後に現れた位置を探す</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strstr.php" class="function" rel="rdfs-seeAlso">strstr()</a> - 文字列が最初に現れる位置を見つける</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.strpbrk.php" class="function" rel="rdfs-seeAlso">strpbrk()</a> - 文字列の中から任意の文字を探す</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.substr.php" class="function" rel="rdfs-seeAlso">substr()</a> - 文字列の一部分を返す</span></li>
|
||||
<li class="member"> <span class="function"><a href="function.preg-match.php" class="function" rel="rdfs-seeAlso">preg_match()</a> - 正規表現によるマッチングを行う</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><?php manual_footer(); ?>
|
||||
179
manual/ja/index.php
Normal file
179
manual/ja/index.php
Normal file
File diff suppressed because one or more lines are too long
171
manual/ja/language.exceptions.php
Normal file
171
manual/ja/language.exceptions.php
Normal file
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
|
||||
$TOC = array();
|
||||
$PARENTS = array();
|
||||
include_once dirname(__FILE__) ."/toc/langref.inc";
|
||||
$setup = array (
|
||||
'home' =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP Manual',
|
||||
),
|
||||
'head' =>
|
||||
array (
|
||||
0 => 'UTF-8',
|
||||
1 => 'ja',
|
||||
),
|
||||
'this' =>
|
||||
array (
|
||||
0 => 'language.exceptions.php',
|
||||
1 => '例外(exceptions)',
|
||||
),
|
||||
'up' =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => '言語リファレンス',
|
||||
),
|
||||
'prev' =>
|
||||
array (
|
||||
0 => 'language.namespaces.faq.php',
|
||||
1 => 'FAQ: 名前空間について知っておくべきこと',
|
||||
),
|
||||
'next' =>
|
||||
array (
|
||||
0 => 'language.exceptions.extending.php',
|
||||
1 => '例外を拡張する',
|
||||
),
|
||||
'alternatives' =>
|
||||
array (
|
||||
),
|
||||
'extra_header_links' =>
|
||||
array (
|
||||
'rel' => 'alternate',
|
||||
'href' => '/manual/en/feeds/language.exceptions.atom',
|
||||
'type' => 'application/atom+xml',
|
||||
),
|
||||
);
|
||||
$setup["toc"] = $TOC;
|
||||
$setup["parents"] = $PARENTS;
|
||||
manual_setup($setup);
|
||||
|
||||
manual_header();
|
||||
?>
|
||||
<div id="language.exceptions" class="chapter">
|
||||
<h1>例外(exceptions)</h1>
|
||||
<h2>目次</h2><ul class="chunklist chunklist_chapter"><li><a href="language.exceptions.extending.php">例外を拡張する</a></li></ul>
|
||||
|
||||
|
||||
<p class="para">
|
||||
PHP 5 は、他のプログラミング言語に似た例外モデルを有しています。
|
||||
PHP 内で例外が投げられ ("<em>throw</em>" され)、それが
|
||||
捕捉され ("<em>catch</em>" され) ます。発生した例外を
|
||||
捕捉するには、コードを <em>try</em> ブロックで囲みます。
|
||||
各 <em>try</em> ブロックには、対応する <em>catch</em>
|
||||
ブロックが存在する必要があります。異なる型の例外を捕捉するために
|
||||
複数の <em>catch</em> フロックを使用することができます。
|
||||
通常の実行時 (<em>try</em> ブロック内で例外が投げられなかった
|
||||
場合、あるいは投げられた例外に対応する <em>catch</em>
|
||||
ブロックが存在しなかった場合) は、<em>catch</em>
|
||||
ブロック内は処理されず、それ以降から処理が続けられます。
|
||||
<em>catch</em> ブロックの中から例外を投げる
|
||||
(あるいは投げなおす) こともできます。
|
||||
</p>
|
||||
<p class="para">
|
||||
例外が投げられた場合、その命令に続くコードは実行されず、
|
||||
PHP は最初にマッチする <em>catch</em> ブロックを探します。
|
||||
例外が捕捉されない場合、PHP は "<em>Uncaught Exception ...</em>"
|
||||
というメッセージとともに
|
||||
致命的なエラー(fatal error)を発行します。
|
||||
ただし、 <span class="function"><a href="function.set-exception-handler.php" class="function">set_exception_handler()</a></span> でハンドラが
|
||||
定義されている場合を除きます。
|
||||
</p>
|
||||
<p class="para">
|
||||
PHP 5.5 以降では、<em>catch</em> ブロックの後に
|
||||
<em>finally</em> ブロックも指定できるようになりました。
|
||||
<em>finally</em> ブロックの何かに書いたコードは、
|
||||
<em>try</em> および <em>catch</em> ブロックの後で常に実行されます。
|
||||
例外がスローさされたかどうかには関係ありません。
|
||||
<em>finally</em> ブロックを実行してから、通常の処理を続行します。
|
||||
</p>
|
||||
<p class="para">
|
||||
スローされるオブジェクトは、<a href="class.exception.php" class="classname">Exception</a> クラスあるいは
|
||||
<a href="class.exception.php" class="classname">Exception</a> のサブクラスのインスタンスでなければなりません。
|
||||
それ以外のオブジェクトをスローしようとすると
|
||||
PHP の Fatal Error が発生します。
|
||||
</p>
|
||||
<blockquote class="note"><p><strong class="note">注意</strong>:
|
||||
<p class="para">
|
||||
PHP の内部関数の多くは
|
||||
<a href="errorfunc.configuration.php#ini.error-reporting" class="link">エラー報告</a>
|
||||
を使っており、例外を使っているのは新しい
|
||||
<a href="language.oop5.php" class="link">オブジェクト指向</a>
|
||||
の拡張モジュールのみです。
|
||||
しかし、<a href="class.errorexception.php" class="link">ErrorException</a>
|
||||
を使えば簡単にエラーを例外に変換することができます。
|
||||
</p>
|
||||
</p></blockquote>
|
||||
<div class="tip"><strong class="tip">ヒント</strong>
|
||||
<p class="para">
|
||||
<a href="intro.spl.php" class="link">Standard PHP Library (SPL)</a>
|
||||
には<a href="spl.exceptions.php" class="link">組み込みの例外</a>が数多く用意されています。
|
||||
</p>
|
||||
</div>
|
||||
<div class="example" id="example-268">
|
||||
<p><strong>例1 例外を投げるには</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> if (!</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> throw new </span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'ゼロによる除算。'</span><span style="color: #007700">);<br /> }<br /> return </span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try {<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'捕捉した例外: '</span><span style="color: #007700">, </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(), </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">// 実行は継続される<br /></span><span style="color: #007700">echo </span><span style="color: #DD0000">"Hello World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
<div class="example-contents"><p>上の例の出力は以下となります。</p></div>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
0.2
|
||||
捕捉した例外: ゼロによる除算。
|
||||
Hello World
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="example" id="example-269">
|
||||
<p><strong>例2 例外処理での <em>finally</em> ブロック</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> if (!</span><span style="color: #0000BB">$x</span><span style="color: #007700">) {<br /> throw new </span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'ゼロによる除算。'</span><span style="color: #007700">);<br /> }<br /> return </span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try {<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'捕捉した例外: '</span><span style="color: #007700">, </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(), </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} </span><span style="color: #0000BB">finally </span><span style="color: #007700">{<br /> echo </span><span style="color: #DD0000">"First finally.\n"</span><span style="color: #007700">;<br />}<br /><br />try {<br /> echo </span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">) . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'捕捉した例外: '</span><span style="color: #007700">, </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(), </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />} </span><span style="color: #0000BB">finally </span><span style="color: #007700">{<br /> echo </span><span style="color: #DD0000">"Second finally.\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">// 処理を続行します<br /></span><span style="color: #007700">echo </span><span style="color: #DD0000">"Hello World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
<div class="example-contents"><p>上の例の出力は以下となります。</p></div>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
0.2
|
||||
First finally.
|
||||
捕捉した例外: ゼロによる除算。
|
||||
Second finally.
|
||||
Hello World
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="example" id="example-270">
|
||||
<p><strong>例3 ネストした例外</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><code><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br /><br /></span><span style="color: #007700">class </span><span style="color: #0000BB">MyException </span><span style="color: #007700">extends </span><span style="color: #0000BB">Exception </span><span style="color: #007700">{ }<br /><br />class </span><span style="color: #0000BB">Test </span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">testing</span><span style="color: #007700">() {<br /> try {<br /> try {<br /> throw new </span><span style="color: #0000BB">MyException</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo!'</span><span style="color: #007700">);<br /> } catch (</span><span style="color: #0000BB">MyException $e</span><span style="color: #007700">) {<br /> </span><span style="color: #FF8000">// 改めてスロー<br /> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;<br /> }<br /> } catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">());<br /> }<br /> }<br />}<br /><br /></span><span style="color: #0000BB">$foo </span><span style="color: #007700">= new </span><span style="color: #0000BB">Test</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$foo</span><span style="color: #007700">-></span><span style="color: #0000BB">testing</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code></div>
|
||||
</div>
|
||||
|
||||
<div class="example-contents"><p>上の例の出力は以下となります。</p></div>
|
||||
<div class="example-contents screen">
|
||||
<div class="cdata"><pre>
|
||||
string(4) "foo!"
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<?php manual_footer(); ?>
|
||||
151
manual/ja/refs.basic.vartype.php
Normal file
151
manual/ja/refs.basic.vartype.php
Normal file
File diff suppressed because one or more lines are too long
1
manual/ja/search-description.json
Normal file
1
manual/ja/search-description.json
Normal file
File diff suppressed because one or more lines are too long
1
manual/ja/search-index.json
Normal file
1
manual/ja/search-index.json
Normal file
File diff suppressed because one or more lines are too long
50
manual/ja/toc/context.inc
Normal file
50
manual/ja/toc/context.inc
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'context.socket.php',
|
||||
1 => 'ソケットコンテキストオプション',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'context.http.php',
|
||||
1 => 'HTTP コンテキストオプション',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'context.ftp.php',
|
||||
1 => 'FTP コンテキストオプション',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'context.ssl.php',
|
||||
1 => 'SSL コンテキストオプション',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'context.curl.php',
|
||||
1 => 'CURL コンテキストオプション',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'context.phar.php',
|
||||
1 => 'Phar コンテキストオプション',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'context.params.php',
|
||||
1 => 'コンテキストパラメータ',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => '言語リファレンス',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP マニュアル',
|
||||
),
|
||||
);
|
||||
140
manual/ja/toc/funcref.inc
Normal file
140
manual/ja/toc/funcref.inc
Normal file
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'refs.basic.php.php',
|
||||
1 => 'PHP の振る舞いの変更',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.audio.php',
|
||||
1 => '音声フォーマットの操作',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'refs.remote.auth.php',
|
||||
1 => '認証サービス',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.cmdline.php',
|
||||
1 => 'コマンドライン関連',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'refs.compression.php',
|
||||
1 => '圧縮およびアーカイブ',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'refs.creditcard.php',
|
||||
1 => 'クレジットカード処理',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'refs.crypto.php',
|
||||
1 => '暗号',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'refs.database.php',
|
||||
1 => 'データベース関連',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'refs.calendar.php',
|
||||
1 => '日付および時刻関連',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'refs.fileprocess.file.php',
|
||||
1 => 'ファイルシステム',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'refs.international.php',
|
||||
1 => '自然言語および文字エンコーディング',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.image.php',
|
||||
1 => '画像処理および作成',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
0 => 'refs.remote.mail.php',
|
||||
1 => 'メール関連',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
0 => 'refs.math.php',
|
||||
1 => '数学',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.nontext.php',
|
||||
1 => 'テキスト以外の MIME 型',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
0 => 'refs.fileprocess.process.php',
|
||||
1 => 'プロセス制御',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
0 => 'refs.basic.other.php',
|
||||
1 => 'その他の基本モジュール',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
0 => 'refs.remote.other.php',
|
||||
1 => 'その他のサービス',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
0 => 'refs.search.php',
|
||||
1 => '検索エンジン用の拡張モジュール',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.server.php',
|
||||
1 => 'サーバー固有のモジュール',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
0 => 'refs.basic.session.php',
|
||||
1 => 'セッション関連',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
0 => 'refs.basic.text.php',
|
||||
1 => 'テキスト処理',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
0 => 'refs.basic.vartype.php',
|
||||
1 => '変数・データ型関連',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
0 => 'refs.webservice.php',
|
||||
1 => 'ウェブサービス',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
0 => 'refs.utilspec.windows.php',
|
||||
1 => 'Windows 用のモジュール',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
0 => 'refs.xml.php',
|
||||
1 => 'XML 操作',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP マニュアル',
|
||||
),
|
||||
);
|
||||
60
manual/ja/toc/index.inc
Normal file
60
manual/ja/toc/index.inc
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'copyright.php',
|
||||
1 => '著作権',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'manual.php',
|
||||
1 => 'PHP マニュアル',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'getting-started.php',
|
||||
1 => 'はじめに',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'install.php',
|
||||
1 => 'インストールと設定',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => '言語リファレンス',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'security.php',
|
||||
1 => 'セキュリティ',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'features.php',
|
||||
1 => '機能',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'funcref.php',
|
||||
1 => '関数リファレンス',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'internals2.php',
|
||||
1 => 'PHP のコア: ハッカーの手引き',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'faq.php',
|
||||
1 => 'FAQ',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'appendices.php',
|
||||
1 => '付録',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
);
|
||||
100
manual/ja/toc/langref.inc
Normal file
100
manual/ja/toc/langref.inc
Normal file
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'language.basic-syntax.php',
|
||||
1 => '基本的な構文',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'language.types.php',
|
||||
1 => '型',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'language.variables.php',
|
||||
1 => '変数',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'language.constants.php',
|
||||
1 => '定数',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'language.expressions.php',
|
||||
1 => '式',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'language.operators.php',
|
||||
1 => '演算子',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'language.control-structures.php',
|
||||
1 => '制御構造',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'language.functions.php',
|
||||
1 => '関数',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'language.oop5.php',
|
||||
1 => 'クラスとオブジェクト',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'language.namespaces.php',
|
||||
1 => '名前空間',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'language.exceptions.php',
|
||||
1 => '例外(exceptions)',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
0 => 'language.generators.php',
|
||||
1 => 'ジェネレータ',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
0 => 'language.references.php',
|
||||
1 => 'リファレンスの説明',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
0 => 'reserved.variables.php',
|
||||
1 => '定義済の変数',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
0 => 'reserved.exceptions.php',
|
||||
1 => '定義済みの例外',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
0 => 'reserved.interfaces.php',
|
||||
1 => '定義済みのインターフェイスとクラス',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
0 => 'context.php',
|
||||
1 => 'コンテキストオプションとパラメータ',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
0 => 'wrappers.php',
|
||||
1 => 'サポートするプロトコル/ラッパー',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP マニュアル',
|
||||
),
|
||||
);
|
||||
515
manual/ja/toc/ref.strings.inc
Normal file
515
manual/ja/toc/ref.strings.inc
Normal file
@@ -0,0 +1,515 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'function.addcslashes.php',
|
||||
1 => 'addcslashes',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'function.addslashes.php',
|
||||
1 => 'addslashes',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'function.bin2hex.php',
|
||||
1 => 'bin2hex',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'function.chop.php',
|
||||
1 => 'chop',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'function.chr.php',
|
||||
1 => 'chr',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'function.chunk-split.php',
|
||||
1 => 'chunk_split',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'function.convert-cyr-string.php',
|
||||
1 => 'convert_cyr_string',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'function.convert-uudecode.php',
|
||||
1 => 'convert_uudecode',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'function.convert-uuencode.php',
|
||||
1 => 'convert_uuencode',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'function.count-chars.php',
|
||||
1 => 'count_chars',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
0 => 'function.crc32.php',
|
||||
1 => 'crc32',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
0 => 'function.crypt.php',
|
||||
1 => 'crypt',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
0 => 'function.echo.php',
|
||||
1 => 'echo',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
0 => 'function.explode.php',
|
||||
1 => 'explode',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
0 => 'function.fprintf.php',
|
||||
1 => 'fprintf',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
0 => 'function.get-html-translation-table.php',
|
||||
1 => 'get_html_translation_table',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
0 => 'function.hebrev.php',
|
||||
1 => 'hebrev',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
0 => 'function.hebrevc.php',
|
||||
1 => 'hebrevc',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
0 => 'function.hex2bin.php',
|
||||
1 => 'hex2bin',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
0 => 'function.html-entity-decode.php',
|
||||
1 => 'html_entity_decode',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
0 => 'function.htmlentities.php',
|
||||
1 => 'htmlentities',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
0 => 'function.htmlspecialchars-decode.php',
|
||||
1 => 'htmlspecialchars_decode',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
0 => 'function.htmlspecialchars.php',
|
||||
1 => 'htmlspecialchars',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
0 => 'function.implode.php',
|
||||
1 => 'implode',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
0 => 'function.join.php',
|
||||
1 => 'join',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
0 => 'function.lcfirst.php',
|
||||
1 => 'lcfirst',
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
0 => 'function.levenshtein.php',
|
||||
1 => 'levenshtein',
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
0 => 'function.localeconv.php',
|
||||
1 => 'localeconv',
|
||||
),
|
||||
28 =>
|
||||
array (
|
||||
0 => 'function.ltrim.php',
|
||||
1 => 'ltrim',
|
||||
),
|
||||
29 =>
|
||||
array (
|
||||
0 => 'function.md5-file.php',
|
||||
1 => 'md5_file',
|
||||
),
|
||||
30 =>
|
||||
array (
|
||||
0 => 'function.md5.php',
|
||||
1 => 'md5',
|
||||
),
|
||||
31 =>
|
||||
array (
|
||||
0 => 'function.metaphone.php',
|
||||
1 => 'metaphone',
|
||||
),
|
||||
32 =>
|
||||
array (
|
||||
0 => 'function.money-format.php',
|
||||
1 => 'money_format',
|
||||
),
|
||||
33 =>
|
||||
array (
|
||||
0 => 'function.nl-langinfo.php',
|
||||
1 => 'nl_langinfo',
|
||||
),
|
||||
34 =>
|
||||
array (
|
||||
0 => 'function.nl2br.php',
|
||||
1 => 'nl2br',
|
||||
),
|
||||
35 =>
|
||||
array (
|
||||
0 => 'function.number-format.php',
|
||||
1 => 'number_format',
|
||||
),
|
||||
36 =>
|
||||
array (
|
||||
0 => 'function.ord.php',
|
||||
1 => 'ord',
|
||||
),
|
||||
37 =>
|
||||
array (
|
||||
0 => 'function.parse-str.php',
|
||||
1 => 'parse_str',
|
||||
),
|
||||
38 =>
|
||||
array (
|
||||
0 => 'function.print.php',
|
||||
1 => 'print',
|
||||
),
|
||||
39 =>
|
||||
array (
|
||||
0 => 'function.printf.php',
|
||||
1 => 'printf',
|
||||
),
|
||||
40 =>
|
||||
array (
|
||||
0 => 'function.quoted-printable-decode.php',
|
||||
1 => 'quoted_printable_decode',
|
||||
),
|
||||
41 =>
|
||||
array (
|
||||
0 => 'function.quoted-printable-encode.php',
|
||||
1 => 'quoted_printable_encode',
|
||||
),
|
||||
42 =>
|
||||
array (
|
||||
0 => 'function.quotemeta.php',
|
||||
1 => 'quotemeta',
|
||||
),
|
||||
43 =>
|
||||
array (
|
||||
0 => 'function.rtrim.php',
|
||||
1 => 'rtrim',
|
||||
),
|
||||
44 =>
|
||||
array (
|
||||
0 => 'function.setlocale.php',
|
||||
1 => 'setlocale',
|
||||
),
|
||||
45 =>
|
||||
array (
|
||||
0 => 'function.sha1-file.php',
|
||||
1 => 'sha1_file',
|
||||
),
|
||||
46 =>
|
||||
array (
|
||||
0 => 'function.sha1.php',
|
||||
1 => 'sha1',
|
||||
),
|
||||
47 =>
|
||||
array (
|
||||
0 => 'function.similar-text.php',
|
||||
1 => 'similar_text',
|
||||
),
|
||||
48 =>
|
||||
array (
|
||||
0 => 'function.soundex.php',
|
||||
1 => 'soundex',
|
||||
),
|
||||
49 =>
|
||||
array (
|
||||
0 => 'function.sprintf.php',
|
||||
1 => 'sprintf',
|
||||
),
|
||||
50 =>
|
||||
array (
|
||||
0 => 'function.sscanf.php',
|
||||
1 => 'sscanf',
|
||||
),
|
||||
51 =>
|
||||
array (
|
||||
0 => 'function.str-getcsv.php',
|
||||
1 => 'str_getcsv',
|
||||
),
|
||||
52 =>
|
||||
array (
|
||||
0 => 'function.str-ireplace.php',
|
||||
1 => 'str_ireplace',
|
||||
),
|
||||
53 =>
|
||||
array (
|
||||
0 => 'function.str-pad.php',
|
||||
1 => 'str_pad',
|
||||
),
|
||||
54 =>
|
||||
array (
|
||||
0 => 'function.str-repeat.php',
|
||||
1 => 'str_repeat',
|
||||
),
|
||||
55 =>
|
||||
array (
|
||||
0 => 'function.str-replace.php',
|
||||
1 => 'str_replace',
|
||||
),
|
||||
56 =>
|
||||
array (
|
||||
0 => 'function.str-rot13.php',
|
||||
1 => 'str_rot13',
|
||||
),
|
||||
57 =>
|
||||
array (
|
||||
0 => 'function.str-shuffle.php',
|
||||
1 => 'str_shuffle',
|
||||
),
|
||||
58 =>
|
||||
array (
|
||||
0 => 'function.str-split.php',
|
||||
1 => 'str_split',
|
||||
),
|
||||
59 =>
|
||||
array (
|
||||
0 => 'function.str-word-count.php',
|
||||
1 => 'str_word_count',
|
||||
),
|
||||
60 =>
|
||||
array (
|
||||
0 => 'function.strcasecmp.php',
|
||||
1 => 'strcasecmp',
|
||||
),
|
||||
61 =>
|
||||
array (
|
||||
0 => 'function.strchr.php',
|
||||
1 => 'strchr',
|
||||
),
|
||||
62 =>
|
||||
array (
|
||||
0 => 'function.strcmp.php',
|
||||
1 => 'strcmp',
|
||||
),
|
||||
63 =>
|
||||
array (
|
||||
0 => 'function.strcoll.php',
|
||||
1 => 'strcoll',
|
||||
),
|
||||
64 =>
|
||||
array (
|
||||
0 => 'function.strcspn.php',
|
||||
1 => 'strcspn',
|
||||
),
|
||||
65 =>
|
||||
array (
|
||||
0 => 'function.strip-tags.php',
|
||||
1 => 'strip_tags',
|
||||
),
|
||||
66 =>
|
||||
array (
|
||||
0 => 'function.stripcslashes.php',
|
||||
1 => 'stripcslashes',
|
||||
),
|
||||
67 =>
|
||||
array (
|
||||
0 => 'function.stripos.php',
|
||||
1 => 'stripos',
|
||||
),
|
||||
68 =>
|
||||
array (
|
||||
0 => 'function.stripslashes.php',
|
||||
1 => 'stripslashes',
|
||||
),
|
||||
69 =>
|
||||
array (
|
||||
0 => 'function.stristr.php',
|
||||
1 => 'stristr',
|
||||
),
|
||||
70 =>
|
||||
array (
|
||||
0 => 'function.strlen.php',
|
||||
1 => 'strlen',
|
||||
),
|
||||
71 =>
|
||||
array (
|
||||
0 => 'function.strnatcasecmp.php',
|
||||
1 => 'strnatcasecmp',
|
||||
),
|
||||
72 =>
|
||||
array (
|
||||
0 => 'function.strnatcmp.php',
|
||||
1 => 'strnatcmp',
|
||||
),
|
||||
73 =>
|
||||
array (
|
||||
0 => 'function.strncasecmp.php',
|
||||
1 => 'strncasecmp',
|
||||
),
|
||||
74 =>
|
||||
array (
|
||||
0 => 'function.strncmp.php',
|
||||
1 => 'strncmp',
|
||||
),
|
||||
75 =>
|
||||
array (
|
||||
0 => 'function.strpbrk.php',
|
||||
1 => 'strpbrk',
|
||||
),
|
||||
76 =>
|
||||
array (
|
||||
0 => 'function.strpos.php',
|
||||
1 => 'strpos',
|
||||
),
|
||||
77 =>
|
||||
array (
|
||||
0 => 'function.strrchr.php',
|
||||
1 => 'strrchr',
|
||||
),
|
||||
78 =>
|
||||
array (
|
||||
0 => 'function.strrev.php',
|
||||
1 => 'strrev',
|
||||
),
|
||||
79 =>
|
||||
array (
|
||||
0 => 'function.strripos.php',
|
||||
1 => 'strripos',
|
||||
),
|
||||
80 =>
|
||||
array (
|
||||
0 => 'function.strrpos.php',
|
||||
1 => 'strrpos',
|
||||
),
|
||||
81 =>
|
||||
array (
|
||||
0 => 'function.strspn.php',
|
||||
1 => 'strspn',
|
||||
),
|
||||
82 =>
|
||||
array (
|
||||
0 => 'function.strstr.php',
|
||||
1 => 'strstr',
|
||||
),
|
||||
83 =>
|
||||
array (
|
||||
0 => 'function.strtok.php',
|
||||
1 => 'strtok',
|
||||
),
|
||||
84 =>
|
||||
array (
|
||||
0 => 'function.strtolower.php',
|
||||
1 => 'strtolower',
|
||||
),
|
||||
85 =>
|
||||
array (
|
||||
0 => 'function.strtoupper.php',
|
||||
1 => 'strtoupper',
|
||||
),
|
||||
86 =>
|
||||
array (
|
||||
0 => 'function.strtr.php',
|
||||
1 => 'strtr',
|
||||
),
|
||||
87 =>
|
||||
array (
|
||||
0 => 'function.substr-compare.php',
|
||||
1 => 'substr_compare',
|
||||
),
|
||||
88 =>
|
||||
array (
|
||||
0 => 'function.substr-count.php',
|
||||
1 => 'substr_count',
|
||||
),
|
||||
89 =>
|
||||
array (
|
||||
0 => 'function.substr-replace.php',
|
||||
1 => 'substr_replace',
|
||||
),
|
||||
90 =>
|
||||
array (
|
||||
0 => 'function.substr.php',
|
||||
1 => 'substr',
|
||||
),
|
||||
91 =>
|
||||
array (
|
||||
0 => 'function.trim.php',
|
||||
1 => 'trim',
|
||||
),
|
||||
92 =>
|
||||
array (
|
||||
0 => 'function.ucfirst.php',
|
||||
1 => 'ucfirst',
|
||||
),
|
||||
93 =>
|
||||
array (
|
||||
0 => 'function.ucwords.php',
|
||||
1 => 'ucwords',
|
||||
),
|
||||
94 =>
|
||||
array (
|
||||
0 => 'function.vfprintf.php',
|
||||
1 => 'vfprintf',
|
||||
),
|
||||
95 =>
|
||||
array (
|
||||
0 => 'function.vprintf.php',
|
||||
1 => 'vprintf',
|
||||
),
|
||||
96 =>
|
||||
array (
|
||||
0 => 'function.vsprintf.php',
|
||||
1 => 'vsprintf',
|
||||
),
|
||||
97 =>
|
||||
array (
|
||||
0 => 'function.wordwrap.php',
|
||||
1 => 'wordwrap',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'book.strings.php',
|
||||
1 => '文字列',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'refs.basic.text.php',
|
||||
1 => 'テキスト処理',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'funcref.php',
|
||||
1 => '関数リファレンス',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP マニュアル',
|
||||
),
|
||||
);
|
||||
65
manual/ja/toc/refs.basic.vartype.inc
Normal file
65
manual/ja/toc/refs.basic.vartype.inc
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'book.array.php',
|
||||
1 => '配列',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'book.classobj.php',
|
||||
1 => 'クラス/オブジェクト',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 => 'book.classkit.php',
|
||||
1 => 'Classkit',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'book.ctype.php',
|
||||
1 => 'Ctype',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
0 => 'book.filter.php',
|
||||
1 => 'Filter',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
0 => 'book.funchand.php',
|
||||
1 => '関数処理',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
0 => 'book.objaggregation.php',
|
||||
1 => 'Object Aggregation',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
0 => 'book.quickhash.php',
|
||||
1 => 'Quickhash',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
0 => 'book.reflection.php',
|
||||
1 => 'リフレクション',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
0 => 'book.var.php',
|
||||
1 => '変数操作',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'funcref.php',
|
||||
1 => '関数リファレンス',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP マニュアル',
|
||||
),
|
||||
);
|
||||
25
manual/ja/toc/reserved.exceptions.inc
Normal file
25
manual/ja/toc/reserved.exceptions.inc
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
$TOC = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'class.exception.php',
|
||||
1 => 'Exception',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'class.errorexception.php',
|
||||
1 => 'ErrorException',
|
||||
),
|
||||
);
|
||||
$PARENTS = array (
|
||||
0 =>
|
||||
array (
|
||||
0 => 'langref.php',
|
||||
1 => '言語リファレンス',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 => 'index.php',
|
||||
1 => 'PHP マニュアル',
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user