Write a PHP program to decapitalize the first letter of the string and then adds it with rest of the string
- برمجة بي اتش بي
- 2021-09-08
- mhanasmh00489829403
الأجوبة
<?php
//Licence: https://bit.ly/2CFA5XY
function decapitalize($string, $upperRest = false)
{
return lcfirst($upperRest ? strtoupper($string) : $string);
}
print_r(decapitalize('Python'));
?>
Sample Output:
python
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال