We're Dev Lateral 👋

The home of the very best PHP dev guides, help, and topics.

Dev Topics

Who are we?

As a collection of senior web developers, we've decided we wanted a way to give back to the community. We strive to do this by taking a different approach. Instead of contributing to a limited number of open-source projects, we've found a way to help all. So whether you're starting out or are an experienced programmer, this is the place for you!

We cover common questions and challenges that PHP developers face every day. Focusing on key areas such as PHP dates, loops, arrays, and enums. Our guides span from basic concepts to more advanced techniques and best practices. We also go beyond the basics with topics like Laravel, securing PHP applications, and more.

Welcome to Dev Lateral.

Learn more about us

Expert PHP version 8+ Tip

Find words in a string in PHP 8 and above

Looking to see if a string is contained in a specified substring? Use PHP's native str_contains function.

The first parameter ($arg1) is the string you're searching for.

And the second parameter ($arg2) is the string you're looking for.

The str_contains function then returns a boolean, either true (if the substring is found) or false (if not)

Don't forget that the str_contains function is case-sensitive and limited to exact matches.

Full String Contains Substring Guide
PHP tip of the day, the str_contains function

Advantages of Choosing PHP for Your Web Development Projects

  • Open-source language
  • Great performance
  • Free to use
  • Cross-platform compatibility
  • Huge active community
  • Powered the web since 1994
  • Used by millions of websites
  • Countless frameworks
  • No compiling!
  • Powerful and scalable
  • Easy to learn
  • Native database support

Companies Who Use PHP In Their Server Stack

Many large companies use PHP as part of their server stack to power their websites. A popular choice for many web projects, it demonstrates its capabilities and versatility. PHP is a great choice for powering either small or large-scale web applications.

  • Facebook
  • WordPress.com
  • Yahoo
  • Slack
  • Wikipedia
  • WhatsApp

What are the latest versions of PHP?

The latest version of PHP is the 8.3 branch which is version 8.3.6, the 8.2 branch is 8.1.28 and the 8.1 branch is . Find out what is new in 8.3, the latest version of PHP!

What PHP versions are still supported?

PHP 8.3, and PHP 8.2 are still in active support, whereas PHP 8.1 is now receiving security support only. PHP 8.0 has now reached end of life (EOL).

Has PHP 7 reached the end of life?

Yes, PHP 7 branch has now reached the end of life (EOL) which includes 7.0, 7.1, 7.2, 7.3, and 7.4. You should upgrade to PHP 8.2 as soon as possible.

Free Developer Tools

Here at Dev Lateral, we have created a host of free-to-use developer tools to help you with your coding and debugging. Written by senior developers, you can trust us to help you get the job done.

Free Message Encryption Transfer

Send a free encrypted message to someone you know, unlockable with a passcode that self-destructs once read.

Send a Encrypted Message

Generate V4 UUID

Use our tool to create a version 4 UUID number. No need to create complex logic, use our free tool instead!

Create a UUID
Looking for industry-leading PHP web development?

API development WordPress Hosting ★ and more 🐘

We use cookies to enhance your browsing experience, and analyse website traffic in accordance with our Privacy and Cookie Policy. Our cookies, including those provided by third parties, collect anonymous information about website usage and may be used for targeted advertising purposes. By clicking "Reject non-essential" you can opt out of non-essential cookies. By clicking "Accept all" you agree to the use of all cookies.


Reject non-essential Accept all