Search
 
SCRIPT & CODE EXAMPLE
 

PHP

install php 7.4

sudo apt install php7.4-common php7.4-cli php7.4-bcmath php7.4-bz2 php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-readline php7.4-xml php7.4-zip php7.4-fpm
Comment

php version 7.4

function test(...$args) { var_dump($args); }
test(1, 2, 3);
Comment

php version 7.4

$arr = [...$args];
Comment

php version 7.4

array(5) {
	[0]=>
	string(6) "banana"
	[1]=>
	string(6) "orange"
	[2]=>
	string(5) "apple"
	[3]=>
	string(4) "pear"
	[4]=>
	string(10) "watermelon"
}
Comment

download php 7.4

download XAMPP
https://www.apachefriends.org/download.html
Comment

php 7.1.1 download

pub   4096R/7BD5DCD0 2016-05-07
      Key fingerprint = A917 B1EC DA84 AEC2 B568 FED6 F50A BC80 7BD5 DCD0
uid                  Davey Shafik <davey@php.net>

pub   2048R/31CBD89E 2016-12-08
      Key fingerprint = 5289 95BF EDFB A719 1D46  839E F9BA 0ADA 31CB D89E
uid                  Joe Watkins <krakjoe@php.net>

pub   4096R/70D12172 2017-04-14 [expires: 2024-04-21]
      Key fingerprint = 1729 F839 38DA 44E2 7BA0  F4D3 DBDB 3974 70D1 2172
uid                  Sara Golemon <pollita@php.net>
Comment

php version 7.4

Parse error: syntax error, unexpected '...' (T_ELLIPSIS), expecting ']' in /app/spread-operator.php on line 3
Comment

php version 7.4

$parts = ['apple', 'pear'];
$fruits = ['banana', 'orange', ...$parts, 'watermelon'];
var_dump($fruits);
Comment

PREVIOUS NEXT
Code Example
Php :: laravel migration add column first 
Php :: session 
Php :: php send data from one page to another 
Php :: scheduling in laravel in custom cron 
Php :: php if equal 
Php :: yii framework 
Php :: php boolean 
Php :: read file and convert each line in array php 
Php :: Target class [AppHttpControllersAdminUserController] does not exist. larvel 8 
Php :: my xampp 
Php :: Write a php program to swap two numbers using temporary variable 
Php :: define value in php 
Php :: order item add hook WooCommerce admin panel 
Php :: select query into left join doctrine 
Php :: Warning: Undefined array key "playerthrows" in C:xampphtdocsmini_projetindex.php on line 10 
Java :: android manifest cleartext traffic permitted 
Java :: round jframe corners in java 
Java :: how to play sounds on java 
Java :: dexter dependency 
Java :: react-native force rtl on android 
Java :: Cannot resolve class android.support.design.widget.AppBarLayout 
Java :: java time code 
Java :: filll 2d array in java 
Java :: print list in java 8 
Java :: concatenating two int in java 
Java :: print up to 2 decimal in java 
Java :: take a value from keyboard java 
Java :: java how to get fps 
Java :: install java with brew 
Java :: keytool error: java.lang.Exception: Keystore file does not exist: ~/.android/debug.keystore 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =