Skip to main content

Strings and Patterns

  • Chapter
  • First Online:
PHP 7 Zend Certification Study Guide
  • 985 Accesses

Abstract

PHP strings are a series of bytes and do not contain any information about how those bytes should be translated to characters.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://php.net/manual/en/regexp.reference.escape.php

  2. 2.

    https://en.wikipedia.org/wiki/UTF-8

  3. 3.

    https://php.net/manual/en/function.substr.php

  4. 4.

    https://secure.php.net/manual/en/function.strpos.php

  5. 5.

    https://secure.php.net/manual/en/function.strspn.php

  6. 6.

    https://secure.php.net/manual/en/function.strcspn.php

  7. 7.

    https://php.net/manual/en/function.printf.php

  8. 8.

    https://secure.php.net/manual/en/function.sprintf.php

  9. 9.

    For example, the site https://regex101.com/ is a great place to play with regex.

  10. 10.

    https://regex101.com/r/EXsPkY/2

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Andrew Beak

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Beak, A. (2017). Strings and Patterns. In: PHP 7 Zend Certification Study Guide. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3246-0_3

Download citation

Publish with us

Policies and ethics