sudo apt-get install php-xdebug
Run below command in terminal to ensure xdebug is installed properly. You’ll find xdebug in the list.
php -m
<?php | |
/* | |
This code sample demonstrates several style for representing an option array with | |
the following fields: name, label, type_id, visible, default. | |
When designing this we should keep in mind that the option key may be represented | |
by either a literal or a (class)constant. As such we mix and match those for | |
illustrative purposes. | |
*/ |
<?php | |
interface Worker | |
{ | |
public function getCommand(); | |
public function done($stdout, $stderr); | |
public function fail($stdout, $stderr, $status); | |
} |
@echo off | |
echo Running dump... | |
"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqldump" -uusername -ppassword --events --all-databases --result-file="E:\backup\database\sql_%DATE:~-4,4%-%DATE:~-7,2%-%DATE:~-10,2%_%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%.sql" | |
echo Done! | |
exit |
cat sample1.txt sample2.txt sample3.txt > sample-all.txt |