This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
listen 443 ssl; | |
server_name tele.test.com www.tele.test.com; | |
root /var/www/tele.test.com/public; | |
index index.html index.htm index.php; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$arr = [ | |
1 => [ | |
0 => [ | |
"user_id" => 1, | |
"date" => "22.10.2018", | |
"time" => "01:40:00", | |
], | |
1 => [ | |
"user_id" => 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
1 => [ | |
0 => [ | |
"user_id" => 1, | |
"date" => "22.10.2018" | |
"time" => "02:00:00" | |
], | |
1 => [ | |
"user_id" => 1, | |
"date" => "23.10.2018" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- test | |
# Variables: these have to match | |
# the .env.example credentials in your Laravel app | |
# use the default homestead/secret combination, since | |
# that database gets created in the edbizarro/gitlab-ci-pipeline-php:7.1 | |
# docker image. | |
variables: | |
MYSQL_ROOT_PASSWORD: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$case1 = '[ | |
{ | |
"from":"03/01/2021", | |
"to":"03/06/2021" | |
}, | |
{ | |
"from":"03/10/2021", | |
"to":"03/15/2021" |