🇪🇸 PHP Documentation — Español
Official PHP manual in Spanish (Español).
This page links to the official PHP documentation in Spanish. 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"