Discover how stronger types mean cleaner, more efficient, and optimized PHP applications. This unique book looks at typed PHP: PHP types, strings, regular expressions, and more from PHP 7 as found in standard PHP libraries, user libraries, extensions, and cross-compilers. You'll see how to create a set of reusable tools that unify and ease the scalar types of PHP. PHP has a rich history and a dominant place on the web. It has achieved much despite language inconsistencies and difficulties. Bjarne Stroustrup once said: "There are only two kinds of languages: the ones people complain about and the ones nobody uses". PHP is one of those languages that everybody uses, yet that's often seen as a good reason to ignore the bad parts and just get stuff done. We're all for getting stuff done, and to that end, the author has used Plain Ol' PHP for many years. It's always bugged him how procedural PHP is, in an ecosystem of OOP libraries and frameworks. So he decided to take a deeper look at building a stronger type system on top of PHP. That's the goal of this book.What You'll LearnDiscover the fundamentals of PHP strings, regex, underscores, native function inconsistencies, and moreExamine the structure of PHP types including boxing, regex, namespace functions, composer autoload, null problem, optional values, and moreWork with extensions like vagrant + phansible, provisioning, vagrant commands, SPL types, scalar objects, zephir, and moreDesign using scalar, SPL, zephir, structure types, resolving types, chaining, combining number types, PHPUnit, packaging, and morePlan for the future using a case study example

Weitere Produkte vom selben Autor

LONELY PLANET Reiseführer USA Ward, Greg, Walker, Benedict, Hecht, John, Karlin, Adam, Kluepfel, Brian, Lemer, Ali, Maric, Vesna, Maxwell, Virginia, McNaughtan, Hugh, Morgan, MaSovaida, Ohlsen, Becky, Zimmerman, Karla, Parkes, Lorna, Bartlett, Ray, Benchwick, Greg, Bender, Andrew, Bing, Alison, Brash, Celeste, Bremner, Jade, Clark, Gregor, d'Arc Taylor, Stephanie, Grosberg, Michael, Pitts, Christopher, Ham, Anthony, Harrell, Ashley, Ping, Trisha, Albiston, Isabel, Baker, Mark, Balfour, Amy C., Balkovich, Robert, Raub, Kevin, Richmond, Simon, Schulte-Peevers, Andrea, St. Louis, Regis, Ver Berkmoes, Ryan, Vorhees, Mara

29,95 €*
LONELY PLANET Reiseführer USA Westen Ham, Anthony, Grosberg, Michael, Harrell, Ashley, Hecht, John, Karlin, Adam, Morgan, Masovaida, Pitts, Christopher, Schulte-Peevers, Andrea, Balfour, Amy C., Ohlsen, Becky, Balkovich, Robert, Benchwick, Greg, Bender, Andrew, Bing, Alison, Brash, Celeste, D'Arc Taylor, Stephanie

24,95 €*
Hong Kong Butler, Stuart, Lioy, Stephen, Maric, Vesna, Masters, Tom, Mayhew, Bradley, Mccrohan, Daniel, O'Malley, Thomas, Parkes, Lorna, Pitts, Christopher, Spurling, Tom, Tang, Phillip, Bremner, Jade, Chapman, Kate, Chen, Piera, Eaves, Megan, Harper, Daisy, Harper, Damian, Holden, Trent, Humphrys, Tess

22,50 €*
Best Road Trips Southwest USA Ham, Anthony, Balfour, Amy, Bing, Alison, Lioy, Stephen, McCarthy, Carolyn, McNaughtan, Hugh, Pitts, Christopher, Berkmoes, Ryan, Walker, Benedict

22,50 €*