0 Yorumlar
0 hisse senetleri
9K Views
0 önizleme
Site içinde arama yapın
Yeni insanlarla keşfedin, yeni bağlantılar oluşturmak ve yeni arkadaşlar edinmek
-
Please log in to like, share and comment!
-
PHP - Modify StringsPHP has a set of built-in functions that you can use to modify strings. Upper Case ExampleGet your own PHP Server The strtoupper() function returns the string in upper case: $x = "Hello World!"; echo strtoupper($x); Try it Yourself » Lower Case Example The strtolower() function returns the string in lower case: $x = "Hello World!"; echo...0 Yorumlar 0 hisse senetleri 8K Views 0 önizleme
-
PHP - Slicing StringsSlicing You can return a range of characters by using the substr() function. Specify the start index and the number of characters you want to return. ExampleGet your own PHP Server Start the slice at index 6 and end the slice 5 positions later: $x = "Hello World!"; echo substr($x, 6, 5); Try it Yourself » Note The first character has index 0. Slice to the...
-
PHP StringsA string is a sequence of characters, like "Hello world!". Strings Strings in PHP are surrounded by either double quotation marks, or single quotation marks. ExampleGet your own PHP Server echo "Hello"; echo 'Hello'; Try it Yourself » Note There is a big difference between double quotes and single quotes in PHP. Double quotes process special characters, single quotes...0 Yorumlar 0 hisse senetleri 6K Views 0 önizleme
-
PHP NumbersIn this chapter we will look in depth into Integers, Floats, and Number Strings. PHP Numbers There are three main numeric types in PHP: Integer Float Number Strings In addition, PHP has two more data types used for numbers: Infinity NaN Variables of numeric types are created when you assign a value to them: ExampleGet your own PHP Server $a = 5; $b = 5.34; $c = "25";...0 Yorumlar 0 hisse senetleri 7K Views 0 önizleme