PHP Magic Tricks: Type Juggling - OWASP
PHP Magic Tricks: Type Juggling
PHP Magic Tricks: Type Juggling
Who Am I
Chris Smith (@chrismsnz)
Previously: Polyglot Developer - Python, PHP, Go + more Linux Sysadmin
Currently: Pentester, Consultant at Insomnia Security Little bit of research
OWASP Day 2015
PHP Magic Tricks: Type Juggling
Insomnia Security Group Limited
Founded in 2007 by Brett Moore. New Zealand-based company. Offices in Auckland and Wellington, as well as global partners. Brings together a team of like-minded, highly technically skilled, results-driven, security professionals. CREST Certified Testers. Regularly perform work for customers in such differing industries as: Tele- and Mobile Communications; Banking, Finance, and Card Payment; E-Commerce and Online Retail; Software and Hardware Vendors; Broadcasting and Media; and Local and National Government.
OWASP Day 2015
PHP Magic Tricks: Type Juggling
Conventions
Types: "string" for strings int(0), float(0) for numbers TRUE, FALSE for booleans
Terms: "Zero-like" - an expression that PHP will loosely compare to
int(0)
OWASP Day 2015
PHP Magic Tricks: Type Juggling
What is Type Juggling?
Present in other languages, but in PHP, specifically: Has two main comparison modes, lets call them loose (==)
and strict (===). Loose comparisons have a set of operand conversion rules to
make it easier for developers. Some of these are a bit weird.
OWASP Day 2015
PHP Magic Tricks: Type Juggling
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- 15 740 18 740 computer architecture lecture 25 main memory
- shelf life index alphabetical by vendor name
- square d qo load centers and circuit breakers
- infantry united states army
- harley davidson vin decoder for 1930 2014 compliments of
- introduction to data analysis handbook
- professional digital two way radio mototrbo
- five instruction execution steps
- what is language linguistics
- php magic tricks type juggling owasp
Related searches
- life tricks and tips
- car dealership tricks to avoid
- car buying tricks to avoid
- car dealer tricks to avoid
- tricks car dealers use
- tricks to pass a meth drug test
- car salesman tricks to avoid
- car buying tricks at dealerships
- car dealer tricks and scams
- financing tricks dealers use
- tricks car dealerships use
- tips and tricks for life