1-sabaq:
$a = fgets(STDIN) – qoldan manis kiritiw
$a = intval(fgets(STDIN)) manistic integerge aylandiriw
3-sabaq
Eger tirnaqshagi alinsa bari STRING tipine aylanip ketedi
4-sabaq
$arr = [‘Musabek’, ‘Maxambetjaliev’, ‘Test’];
$text = implode(“ ”, $arr);
Echo $text;
$text = “Musabek Maxambetjaliev PHP Senior Programmist”;
$arr= explode(“ ”, $text);
print_r($arr);
empty(); -> ozgeriwshi maniske iye yaki iye emesligin tekseredi(true false qaytaradi);
isset();-> ozgeriwshi bar joqligin tekseredi(true false qaytaradi);
Do'stlaringiz bilan baham: |