09:36:15
 Frissítés
Keresés | Új hozzászólás
 » Isten hozott, kedves Vendég ! Fórumlakók | GY.I.K. | Bejelentkezés | Regisztráció 
 » Társalgó
Téma: PHP
R.András
Olvasta: 5 | Válasz | 2019. július 19. 11:07 | Sorszám: 176
strtolower ( string $string ) : string
... https://www.php.net/manual/en/function.strtolower.php
malom
Olvasta: 6 | Válasz | 2019. május 10. 11:54 | Sorszám: 175
Sicut sollers agricola, Pater suam curat vineam.
R.András
Olvasta: 6 | Válasz | 2019. május 10. 11:31 | Sorszám: 174
file_get_contents !
R.András
Olvasta: 7 | Válasz | 2019. március 31. 10:07 | Sorszám: 173
str_split
(PHP 5, PHP 7)
str_split — Convert a string to an array
Description ¶
str_split ( string $string [, int $split_length = 1 ] ) : array
... https://www.php.net/manual/en/function.str-split.php
R.András
Olvasta: 7 | Válasz | 2019. március 29. 09:56 | Sorszám: 172
Sorting Arrays
PHP has several functions that deal with sorting arrays, and this document exists to help sort it all out.
The main differences are:
* Some sort based on the array keys, whereas others by the values: $array['key'] = 'value';
* Whether or not the correlation between the keys and values are maintained after the sort, which may mean the keys are reset numerically (0,1,2 ...)
* The order of the sort: alphabetical, low to high (ascending), high to low (descending), numerical, natural, random, or user defined
* Note: All of these sort functions act directly on the array variable itself, as opposed to returning a new sorted array
* If any of these sort functions evaluates two members as equal then the order is undefined (the sorting is not stable).
... www.php.net/manual/en/array.sorting.php
pandala
Olvasta: 7 | Válasz | 2019. január 02. 16:34 | Sorszám: 171
MZ/X
azaz, Köbüki
R.András
Olvasta: 8 | Válasz | 2019. január 02. 16:33 | Sorszám: 170
$handle = fopen("c:\\folder\\resource.txt", "r");
... http://php.net/manual/en/function.fopen.php
R.András
Olvasta: 8 | Válasz | 2018. március 26. 09:22 | Sorszám: 169
floor
(PHP 4, PHP 5, PHP 7)
floor — Round fractions down
Description:
float floor ( float $value )
Returns the next lowest integer value (as float) by rounding down value if necessary.
... http://php.net/manual/en/function.floor.php
R.András
Olvasta: 9 | Válasz | 2018. február 20. 21:02 | Sorszám: 168
strpos — Find the position of the first occurrence of a substring in a string
int strpos ( string $haystack , mixed $needle [, int $offset = 0 ] )
Returns the position of where the needle exists relative to the beginning of the haystack string (independent of offset). Also note that string positions start at 0, and not 1.
Returns FALSE if the needle was not found.
... http://php.net/manual/en/function.strpos.php
R.András
Olvasta: 10 | Válasz | 2018. január 04. 19:11 | Sorszám: 167
$psize['a'] = 123;
$psize['b'] = 234;
var_dump( $psize );
R.András
Olvasta: 11 | Válasz | 2018. január 03. 16:18 | Sorszám: 166
Function arguments
PHP supports passing arguments by value (the default), passing by reference, and default
argument values. Variable-length argument lists are also supported.
... http://php.net/manual/en/functions.arguments.php#functions.arguments.by-refer ...
R.András
Olvasta: 11 | Válasz | 2018. január 01. 16:00 | Sorszám: 165
int filesize ( string $filename )
... http://php.net/manual/en/function.filesize.php
R.András
Olvasta: 11 | Válasz | 2017. december 27. 10:26 | Sorszám: 164
string strtoupper ( string $string )
... http://php.net/manual/en/function.strtoupper.php
panda
Olvasta: 12 | Válasz | 2013. november 16. 14:41 | Sorszám: 163
http://www.codecademy.com/tracks/php
Rendes Kis
Olvasta: 12 | Válasz | 2013. november 16. 10:25 | Sorszám: 162
boolean operators: http://php.net/manual/en/language.operators.logical.php
Rendes Kis
Olvasta: 12 | Válasz | 2011. május 23. 08:43 | Sorszám: 161
In addition to the basic assignment operator, there are "combined operators" for all of the binary arithmetic, array union and string operators that allow you to use a value in an expression and then set its value to the result of that expression. For example:
<?php

$a = 3;
$a += 5; // sets $a to 8, as if we had said: $a = $a + 5;
$b = "Hello ";
$b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!";

?>
... http://www.php.net/manual/en/language.operators.assignment.php
Rendes Kis
Olvasta: 12 | Válasz | 2011. május 23. 08:40 | Sorszám: 160
Example #2 Passing function parameters by reference
<?php
function add_some_extra(&$string)
{
$string .= 'and something extra.';
}
$str = 'This is a string, ';
add_some_extra($str);
echo $str; // outputs 'This is a string, and something extra.'
?>
... http://www.php.net/manual/en/functions.arguments.php#functions.arguments.by-r ...
Rendes Kis
Olvasta: 12 | Válasz | 2011. május 20. 18:54 | Sorszám: 159
http://php.net/manual/en/control-structures.elseif.php
Rendes Kis
Olvasta: 12 | Válasz | 2011. május 17. 07:14 | Sorszám: 158
http://php.net/manual/en/function.substr.php
Tovább ...
Jelmagyarázat    Van új hozzászólás
   Ezeket a hozzászólásokat már láttad
... Hibabejelentés | | | Gondola ...