🇧🇷 PHP Documentation — Português (BR)
Official PHP manual in Brazilian Portuguese (Português (BR)).
This page links to the official PHP documentation in Brazilian Portuguese. The PHP manual is maintained by the PHP documentation team and is available in multiple languages courtesy of community translators.
Common PHP Sections
Quick Reference
String Functions
PHP
// String length
strlen("Hello World"); // 11
// Find in string
strpos("Hello World", "o"); // 4
// Replace in string
str_replace("World", "PHP", "Hello World"); // "Hello PHP"
// Convert case
strtolower("HELLO"); // "hello"
strtoupper("hello"); // "HELLO"
// Trim whitespace
trim(" hello "); // "hello"