The following links pertain to the talk “PHP: Quirks, Gotchas & Wizardry” which I gave at the Web & PHP Conference in San Jose, CA, Sept. 2013.
Intro
- http://www.computerweekly.com/feature/Hot-skills-PHP-joins-the-mainstream
- http://www.internetnews.com/blog/skerner/open-source-php-usage-tops-244-million-sites.html
- http://www.sitepoint.com/forums/showthread.php?305966-Has-the-Fun-Gone-Out-of-PHP&s=6a2079492ebff5625ed742a343729090
- http://shiflett.org/blog/2006/aug/six-reasons-php-sucks
- http://webonastick.com/php.html
- https://maurus.net/resources/programming-languages/php/
- http://terrychay.com/article/php-sucks.shtml
- http://www.codinghorror.com/blog/2008/05/php-sucks-but-it-doesnt-matter.html
- http://blog.ircmaxell.com/2012/04/php-sucks-but-i-like-it.html
- http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
Hexadecimal
- http://en.wikipedia.org/wiki/Hexspeak
- http://en.wikipedia.org/wiki/Hexadecimal
- http://pastebin.com/vQ67wQ52
- http://3v4l.org/4qiCp
- https://bugs.php.net/bug.php?id=13756
- http://us2.php.net/pow
- http://3v4l.org/D2QJN
- http://www.php.net/manual/en/function.base-convert.php
- https://bugs.php.net/bug.php?id=65212
- http://codepad.org/ZlVskhoY
- http://codepad.org/UnYdn44H
Hex and Sign
- http://php.net/manual/en/language.types.integer.php
- http://markmail.org/message/xf3734kiar4mi63m
- http://php.net/manual/en/function.dechex.php
- http://lxr.php.net/xref/PHP_5_5/ext/standard/math.c#1049
- http://devzone.zend.com/3443/phps-remarkable-hexadecimals/
- http://codepad.org/rTLYLwES
- http://phpmanualmasterpieces.tumblr.com/post/33051383652/twos-complewhat
- http://stackoverflow.com/questions/1831753/c-unsigned-int-providing-a-negative-value
- http://stackoverflow.com/questions/15288032/trying-to-reproduce-a-dechex-function-behaviour-on-x64-architecture/
- http://grokbase.com/t/php/php-internals/135z59f0kz/5-next-integer-and-string-type-modifications
- http://www.php.net/~derick/meeting-notes.html#add-a-64bit-integer
- http://www.scs.stanford.edu/histar/src/pkg/uclibc/include/limits.h
- http://floating-point-gui.de/
- https://slevy1.wordpress.com/2013/03/12/integers-and-relativity-in-php
- http://www.mysqlperformanceblog.com/2008/01/10/php-vs-bigint-vs-float-conversion-caveat/
- http://codepad.org/ihCztf1m
- http://pastebin.com/MY7d6usn
- http://codepad.org/3u4zYyFT
- http://3v4l.org/bGADF
- http://codepad.org/IRUOB71p
- http://codepad.org/yQ8mllFl
- http://codepad.org/Q2yR12Sj
- http://php.net/manual/en/language.types.string.php
- http://codepad.org/NBnFZ1x0
Hex and Context
- http://3v4l.org/kKhIr
- http://markmail.org/message/ax2drcb6dolr5agl
- http://dev.mysql.com/doc/refman/5.0/en/hexadecimal-literals.html
- https://bugs.php.net/bug.php?id=41409
- http://3v4l.org/DgO85
- http://www.gnu.org/software/libc/manual/html_node/Parsing-of-Integers.html
- http://us1.php.net/intval
- http://lxr.php.net/xref/PHP_5_5/ext/standard/type.c#132
- http://lxr.php.net/xref/PHP_5_5/Zend/zend_operators.c#369
- http://us2.php.net/manual/en/function.hexdec.php
Hex Zero: +/- Bug
- https://bugs.php.net/bug.php?id=61095
- http://3v4l.org/LuBrH
- http://3v4l.org/M4FUX
- http://us2.php.net/Tokenizer
- http://php.net/manual/en/tokens.php
- http://lxr.php.net/xref/PHP_5_4/Zend/zend_language_scanner.l#1531
- http://3v4l.org/8poW5
- http://pastebin.com/GSr545Ze
- http://www.reddit.com/r/programming/comments/q2txk/php_adds_hexadecimal_numbers_incorrectly/
- http://en.wikipedia.org/wiki/Integer_overflow
- http://stackoverflow.com/questions/2913618/how-is-integer-overflow-exploitable
- https://bugs.php.net/bug.php?id=61225
Large File Support
- http://en.wikipedia.org/wiki/Large_File_Support
- http://users.suse.com/~aj/linux_lfs.html
- http://stackoverflow.com/questions/17549007/2gb-file-upload-filesfilesize-negative-number
- http://news.php.net/php.internals/32767
- https://bugs.php.net/bug.php?id=34750
- https://bugs.php.net/bug.php?id=45040
- https://bugs.php.net/bug.php?id=48886
- https://bugs.php.net/bug.php?id=27792
- https://bugs.php.net/bug.php?id=63618
- http://stackoverflow.com/questions/5501451/php-x86-how-to-get-filesize-of-2gb-file-without-external-program
- http://markmail.org/message/5bigqk43xewr2wme
- http://markmail.org/message/rhqy2wu5eu5253fm
Octals
- http://en.wikipedia.org/wiki/Octal
- http://3v4l.org/nYaeQ#tabs
- http://3v4l.org/nYaeQ/vld#tabs
- http://3v4l.org/T9pvk
- http://3v4l.org/kkf4s/vld#tabs
- https://wiki.theory.org/YourLanguageSucks#PHP_sucks_because%3A
- http://www.mail-archive.com/clojure@googlegroups.com/msg10651.html
- https://bugs.php.net/bug.php?id=29676
- http://www.steike.com/code/php-must-die/
- http://lxr.php.net/xref/PHP_5_4/Zend/zend_language_scanner.l#1510
- http://codepad.org/yJxmhYFa
- http://lxr.php.net/xref/PHP_5_4/Zend/zend_vm_execute.h
- http://codepad.org/ML6wkhtQ
- http://markmail.org/message/b77km3eyjlcsnr4o
- http://us3.php.net/octdec
- http://us.php.net/manual/phpfi2.php
Really Big Numbers
- http://php.net/manual/en/reserved.constants.php
- https://bugs.php.net/bug.php?id=52355
- http://lxr.php.net/xref/PHP_TRUNK/Zend/zend_language_parser.y#776
- http://pastebin.com/fSM6x0VV
- http://3v4l.org/RaMu3
- http://codepad.org/JiXP7bzc
- http://3v4l.org/8JNg9
- http://codepad.org/MPe7D4fi
- http://codepad.org/KMbkQHHd
- https://bugs.php.net/bug.php?id=53934
- https://bugs.php.net/bug.php?id=24381
- https://bugs.php.net/bug.php?id=14134
- https://bugs.php.net/bug.php?id=47745
- http://codepad.org/v6Riokij
- http://3v4l.org/NesHc
- https://bugs.php.net/bug.php?id=54547
- https://bugs.php.net/bug.php?id=62097
- http://codepad.org/RXqETo7A
- http://3v4l.org/EYSAQ
- http://3v4l.org/SH0v2
- http://www.phpsadness.com/sad/47
- http://us3.php.net/manual/en/types.comparisons.php
- http://us3.php.net/operators.comparison
- http://stackoverflow.com/questions/589549/php-vs-operator
- http://3v4l.org/sib2l
- http://3v4l.org/cL5il
- http://3v4l.org/I7csH
- http://pastebin.com/6htdcQ04
- http://php.net/manual/en/intro.bc.php
- http://www.php.net/manual/en/book.gmp.php
- https://wiki.php.net/rfc/operator_overloading_gmp
Reblogged this on ITechonology