]> CyberLeo.Net >> Repos - Github/YOURLS.git/log
Github/YOURLS.git
7 years agoRemove password verification
ozh [Wed, 19 Apr 2017 21:27:19 +0000 (23:27 +0200)]
Remove password verification

7 years agoweeeeee more badges. I'm silly tonight.
྅༻ Ǭɀħ ༄༆ཉ [Wed, 19 Apr 2017 20:51:08 +0000 (22:51 +0200)]
weeeeee more badges. I'm silly tonight.

![ozh](https://opencollective.com/yourls/contributors/0/avatar)

7 years agoMerge pull request #2230 from piamancini/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Wed, 19 Apr 2017 20:33:28 +0000 (22:33 +0200)]
Merge pull request #2230 from piamancini/patch-1

Add backers and sponsors from Open Collective

Let's give this a try, we'll see 😸

7 years agoStyle and love
྅༻ Ǭɀħ ༄༆ཉ [Wed, 19 Apr 2017 20:29:07 +0000 (22:29 +0200)]
Style and love

7 years agoAdd backers and sponsors from Open Collective
Pia Mancini [Tue, 18 Apr 2017 21:48:31 +0000 (17:48 -0400)]
Add backers and sponsors from Open Collective

Now your open collective backers and sponsors can to appear directly on your README.
see how it'll look [here](https://github.com/apex/apex#backers)
[More info](https://github.com/opencollective/opencollective/wiki/Github-banner)
Also add badges on top

7 years agoMerge pull request #2228 from gmolop/patch-2
྅༻ Ǭɀħ ༄༆ཉ [Tue, 18 Apr 2017 20:41:27 +0000 (22:41 +0200)]
Merge pull request #2228 from gmolop/patch-2

Add offset for CURRENT_TIMESTAMP

7 years agoAdd offset for CURRENT_TIMESTAMP
gmo [Tue, 18 Apr 2017 10:26:23 +0000 (12:26 +0200)]
Add offset for CURRENT_TIMESTAMP

https://github.com/YOURLS/YOURLS/issues/2221

7 years agoMerge pull request #2227 from YOURLS/dir1820
྅༻ Ǭɀħ ༄༆ཉ [Mon, 17 Apr 2017 21:11:01 +0000 (23:11 +0200)]
Merge pull request #2227 from YOURLS/dir1820

Use __DIR__ instead of dirname(__FILE__)

Should speed up things by several zilliseconds. Fixes #1820

7 years agoUse __DIR__ instead of dirname(__FILE__)
ozh [Mon, 17 Apr 2017 21:03:37 +0000 (23:03 +0200)]
Use __DIR__ instead of dirname(__FILE__)

7 years agoUse PHP_VERSION_ID
྅༻ Ǭɀħ ༄༆ཉ [Mon, 17 Apr 2017 20:36:22 +0000 (22:36 +0200)]
Use PHP_VERSION_ID

This makes calls to phpversion() and version_compare() unnecessary. Fixes #1951

7 years agoUpdate LICENSE
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 20:45:48 +0000 (22:45 +0200)]
Update LICENSE

7 years agoMinor README tweaks
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 11:23:29 +0000 (13:23 +0200)]
Minor README tweaks

7 years agoMerge pull request #2144 from Ramoonus/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 11:14:49 +0000 (13:14 +0200)]
Merge pull request #2144 from Ramoonus/patch-1

unit test with php 7.1

7 years agoBack at picking PHPUnit version, with path fix
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 09:31:43 +0000 (11:31 +0200)]
Back at picking PHPUnit version, with path fix

7 years agoReverting to simpler ; trying the class_alias way
྅༻ Ǭɀħ ༄༆ཉ [Sat, 15 Apr 2017 21:57:05 +0000 (23:57 +0200)]
Reverting to simpler ; trying the class_alias way

7 years agoAttempt 667
྅༻ Ǭɀħ ༄༆ཉ [Sat, 15 Apr 2017 21:42:08 +0000 (23:42 +0200)]
Attempt 667

7 years agoAttempt number 666 at running desired PHPunit bin
྅༻ Ǭɀħ ༄༆ཉ [Sat, 15 Apr 2017 21:36:22 +0000 (23:36 +0200)]
Attempt number 666 at running desired PHPunit bin

7 years agoSelect PHPUnit version
྅༻ Ǭɀħ ༄༆ཉ [Fri, 14 Apr 2017 20:03:02 +0000 (22:03 +0200)]
Select PHPUnit version

7 years agoCheck PHPUnit version
྅༻ Ǭɀħ ༄༆ཉ [Fri, 14 Apr 2017 15:58:56 +0000 (17:58 +0200)]
Check PHPUnit version

I can really commit to someone else's fork ??

7 years agoUnused var. Fixes #2197
ozh [Tue, 4 Apr 2017 17:33:31 +0000 (19:33 +0200)]
Unused var. Fixes #2197

7 years agoTuning stat graphs (make vAxis start at 0)
ozh [Tue, 4 Apr 2017 17:13:30 +0000 (19:13 +0200)]
Tuning stat graphs (make vAxis start at 0)

See #2204

7 years agoTune regexp parsing. Fixes #2155
ozh [Sun, 2 Apr 2017 16:29:31 +0000 (18:29 +0200)]
Tune regexp parsing. Fixes #2155

We make a regexp from the charset, and used to specify that `-` was to be escaped but this has been fixed in PHP 5.2
We now escape `@`, which is also used as the regexp delimiter in yourls-loader.php, so now `@` can also be used in short URL charset

7 years agoMore readable argument.
ozh [Sat, 25 Mar 2017 18:59:44 +0000 (19:59 +0100)]
More readable argument.

7 years agoFix redirection after logging
ozh [Sat, 25 Mar 2017 18:35:20 +0000 (19:35 +0100)]
Fix redirection after logging

Fixes #2213. Fixes #2206.

7 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Sun, 5 Feb 2017 15:06:29 +0000 (16:06 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

7 years agoIntroduce yourls_sanitize_url_safe()
ozh [Sun, 5 Feb 2017 15:04:50 +0000 (16:04 +0100)]
Introduce yourls_sanitize_url_safe()

Remove anti CRLF checks from yourls_sanitize_url() and yourls_esc_url() because some legit URLs have %0A or %0D
We're just stripping those, using new function yourls_sanitize_url_safe(), for internal redirection when target location isn't hardcoded.

7 years agoFix curly quote in comment
ozh [Sat, 4 Feb 2017 19:08:40 +0000 (20:08 +0100)]
Fix curly quote in comment

Didn't print too well in editors or on the web

7 years agoRemove overzealous check
ozh [Sat, 4 Feb 2017 12:55:59 +0000 (13:55 +0100)]
Remove overzealous check

For instance, http://example.com/?req=http;//blah should not be modified into http://example.com/?req=http://blah

If the user fucks up and enter http;//blah instead of http://blah, well, too bad for them.

7 years agoMerge pull request #2191 from nickreiner/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Wed, 25 Jan 2017 20:09:24 +0000 (21:09 +0100)]
Merge pull request #2191 from nickreiner/patch-1

Added tutorials to readme.html

7 years agoAdded tutorials to readme.html
nickreiner [Wed, 25 Jan 2017 19:13:59 +0000 (20:13 +0100)]
Added tutorials to readme.html

Our tutorials for CentOS and Shared were the things that were missing from your readme.

Now you have tutorials for (almost) every scenario. :)

7 years agoUpdate README.md
Nick [Tue, 4 Oct 2016 19:14:06 +0000 (20:14 +0100)]
Update README.md

7 years agoFix typo in readme.html
Jed Northridge [Wed, 28 Sep 2016 21:31:22 +0000 (17:31 -0400)]
Fix typo in readme.html

7 years agoMerge pull request #2150 from JDLH/bug-2149_spelling-mistake-readme
྅༻ Ǭɀħ ༄༆ཉ [Mon, 26 Sep 2016 05:36:08 +0000 (07:36 +0200)]
Merge pull request #2150 from JDLH/bug-2149_spelling-mistake-readme

Fix spelling error "intended" in readme.html

7 years agoFix spelling error "intended" in readme.html
Jim DeLaHunt [Sun, 25 Sep 2016 22:36:42 +0000 (15:36 -0700)]
Fix spelling error "intended" in readme.html

7 years agounit test with php 7.1
Ramon van Belzen [Fri, 16 Sep 2016 16:55:46 +0000 (18:55 +0200)]
unit test with php 7.1

7 years agoWhitelist tel: protocol
྅༻ Ǭɀħ ༄༆ཉ [Thu, 25 Aug 2016 21:28:48 +0000 (23:28 +0200)]
Whitelist tel: protocol

Fixes #2135

7 years agoInfo random vs sequential
྅༻ Ǭɀħ ༄༆ཉ [Sun, 7 Aug 2016 16:37:37 +0000 (18:37 +0200)]
Info random vs sequential

Because some people cannot search, apparently.

7 years agoMerge pull request #2126 from rosehosting/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Sun, 7 Aug 2016 16:27:26 +0000 (18:27 +0200)]
Merge pull request #2126 from rosehosting/patch-1

Added RoseHosting

7 years agoAdded RoseHosting
RoseHosting.com [Mon, 25 Jul 2016 12:54:29 +0000 (07:54 -0500)]
Added RoseHosting

Our tutorial and our 'endorsement'

7 years agoMerge pull request #2066 from Preovaleo/master
ozh [Thu, 19 May 2016 18:44:55 +0000 (20:44 +0200)]
Merge pull request #2066 from Preovaleo/master

Change zeroclipboard to clipboardjs. Goodbye flash.

Fixes #2047

7 years agobump clipboardjs 1.5.10
Preovaleo [Wed, 4 May 2016 13:48:36 +0000 (15:48 +0200)]
bump clipboardjs 1.5.10

8 years agoUpdated Cherokee link
ozh [Tue, 19 Apr 2016 06:10:05 +0000 (08:10 +0200)]
Updated Cherokee link

8 years agoMerge pull request #2075 from BstName/fix
Léo Colombaro [Tue, 29 Mar 2016 11:48:44 +0000 (13:48 +0200)]
Merge pull request #2075 from BstName/fix

Correcting title attr. of display_link

8 years agoCorrecting title attr. of display_link
BestNa.me Labs [Tue, 29 Mar 2016 06:47:56 +0000 (08:47 +0200)]
Correcting title attr. of display_link

Correction in `edit_link_save`:
Plugging in `data.url.title` as (untrimmed) `title` attribute (instead of plugging in `data.url.url`) when setting the variable `display_link`.

8 years agoUpdate link
ozh [Mon, 28 Mar 2016 16:32:13 +0000 (18:32 +0200)]
Update link

8 years agoMerge pull request #2072 from BstName/fix
ozh [Thu, 24 Mar 2016 06:28:55 +0000 (07:28 +0100)]
Merge pull request #2072 from BstName/fix

Removes an ineffective line of code

8 years agoshorttail new URL
ozh [Wed, 23 Mar 2016 21:47:30 +0000 (22:47 +0100)]
shorttail new URL

8 years agoRemove an ineffective line of code
BestNa.me Labs [Wed, 23 Mar 2016 19:59:18 +0000 (20:59 +0100)]
Remove an ineffective line of code

Removes an ineffective line of code in `edit_link_save()` with an undefined variable `data.url.date` (this is because `data.url.date` is not set in the function invoked via ajax, i.e. in `yourls_edit_link()` in functions.php).

8 years agoMerge branch 'master' of https://github.com/BstName/YOURLS
BstName [Wed, 23 Mar 2016 19:49:14 +0000 (20:49 +0100)]
Merge branch 'master' of https://github.com/BstName/YOURLS

8 years agoMerge pull request #2069 from BstName/fix
ozh [Tue, 22 Mar 2016 20:26:37 +0000 (21:26 +0100)]
Merge pull request #2069 from BstName/fix

Re-enable actions only if edit-save succeeded

8 years agoMerge pull request #2 from BstName/fix
BestNa.me Labs [Tue, 22 Mar 2016 19:15:31 +0000 (20:15 +0100)]
Merge pull request #2 from BstName/fix

Re-enable actions only if edit-save succeeded

8 years agoRe-enable actions only if edit-save succeeded
BestNa.me Labs [Tue, 22 Mar 2016 19:09:38 +0000 (20:09 +0100)]
Re-enable actions only if edit-save succeeded

Fixes a flaw in `edit_link_save()` in insert.js:

On exit, `edit_link_save()` re-enables all buttons of the action column, regardless of the value of `status` as returned by the ajax call (`action=edit_save`), i.e. also if the `status` is `fail` which means that the edit row remains visible. Because of that, it is then possible to open another edit row for the same keyword/long URL row. It is even possible to repeat this, introducing an arbitrary number of open edit rows with the same content.

8 years agoremove the unused e parameter
Preovaleo [Tue, 22 Mar 2016 17:49:25 +0000 (18:49 +0100)]
remove the unused e parameter

8 years agoAdd a comment in gitignore for netbeans
Preovaleo [Tue, 22 Mar 2016 17:48:28 +0000 (18:48 +0100)]
Add a comment in gitignore for netbeans

8 years agoFix i make it quick
Preovaleo [Tue, 22 Mar 2016 16:25:09 +0000 (17:25 +0100)]
Fix i make it quick

8 years agochnage random comments
Preovaleo [Tue, 22 Mar 2016 15:19:18 +0000 (16:19 +0100)]
chnage random comments

8 years agochange zeroclipboard to clipboardjs
Preovaleo [Tue, 22 Mar 2016 15:12:38 +0000 (16:12 +0100)]
change zeroclipboard to clipboardjs

8 years agoDelete my ide files
Preovaleo [Tue, 22 Mar 2016 15:11:01 +0000 (16:11 +0100)]
Delete my ide files

8 years agoMerge pull request #2065 from BstName/fix
ozh [Mon, 21 Mar 2016 20:44:27 +0000 (21:44 +0100)]
Merge pull request #2065 from BstName/fix

Re-enable cancel on exiting edit_link_save()

8 years agoRe-enable cancel on exiting edit_link_save()
BestNa.me Labs [Mon, 21 Mar 2016 20:00:04 +0000 (21:00 +0100)]
Re-enable cancel on exiting edit_link_save()

Fixes a flaw in `edit_link_save()` in insert.js:

On exit, `edit_link_save()` correctly ends the loading state of the cancel button (i.e. the element with id `edit-close-y...`), but leaves the element disabled. This gets evident if and only if the ajax call (`action=edit_save`) returns with a `status` of `fail`, since only then the edit row with the disabled cancel button will not be faded out.

8 years agoMerge pull request #2060 from RobiNN1/patch-1
ozh [Wed, 16 Mar 2016 20:19:22 +0000 (21:19 +0100)]
Merge pull request #2060 from RobiNN1/patch-1

Bug fix: incorrect value unset when translation file loaded

8 years agoUpdate yourls-infos.php
RobiNN1 [Wed, 16 Mar 2016 19:06:30 +0000 (19:06 +0000)]
Update yourls-infos.php

Bug Fix

8 years agoMerge pull request #2059 from matecode/patch-1
ozh [Wed, 16 Mar 2016 17:17:20 +0000 (18:17 +0100)]
Merge pull request #2059 from matecode/patch-1

Update readme.html

8 years agoUpdate readme.html
Mate [Wed, 16 Mar 2016 15:15:33 +0000 (16:15 +0100)]
Update readme.html

added aYourls to Android apps

8 years agoMerge pull request #2055 from BstName/bug-fix
ozh [Sun, 13 Mar 2016 15:24:22 +0000 (16:24 +0100)]
Merge pull request #2055 from BstName/bug-fix

Updating total clicks on delete

8 years agoReworking decrease_total_clicks( id )
BestNa.me Labs [Sat, 12 Mar 2016 07:51:23 +0000 (08:51 +0100)]
Reworking decrease_total_clicks( id )

8 years ago#total_clicks -> #overall_tracking in surrnd. <p>
BestNa.me Labs [Sat, 12 Mar 2016 07:48:06 +0000 (08:48 +0100)]
#total_clicks -> #overall_tracking in surrnd. <p>

8 years agoAdded `decrease_total_clicks( id )` + call
BestNa.me Labs [Thu, 10 Mar 2016 20:58:58 +0000 (21:58 +0100)]
Added `decrease_total_clicks( id )` + call

Added a function `decrease_total_clicks( id )` in js/insert.js which decreases the element containing the number of total clicks on the admin page by the value contained in the element `$('#clicks-' + id)` (i.e. by the value picked from the 'Clicks' column of the respective deleted row). Now called this method at the appropriate place in function `remove_link(id)`, thereby passing on `id` as parameter.

8 years agoAdditional id for tag containing $total_clicks
BestNa.me Labs [Thu, 10 Mar 2016 20:51:57 +0000 (21:51 +0100)]
Additional id for tag containing $total_clicks

Granted the `<strong>` tag containing the number of total clicks its own id (in admin/index.php) (the element should be prominent enough to deserve it).

8 years agoMerge pull request #2054 from BstName/bug-fix
Léo Colombaro [Wed, 9 Mar 2016 23:00:49 +0000 (00:00 +0100)]
Merge pull request #2054 from BstName/bug-fix

Go to First Page -> Go to Last Page

8 years agoGo to First Page -> Go to Last Page
BestNa.me Labs [Wed, 9 Mar 2016 21:24:48 +0000 (22:24 +0100)]
Go to First Page -> Go to Last Page

Fixes a minor glitch in yourls_html_tfooter() in functions-html.php:

In the pagination section of the URL table, the 'Go to Last Page'-link has a `title` attribute 'Go to First Page' (one can notice that by hovering it). Should of course be titled 'Go to Last Page'.

8 years agoMerge branch 'refs/heads/pr/1921'
Léo Colombaro [Sat, 5 Mar 2016 18:15:40 +0000 (19:15 +0100)]
Merge branch 'refs/heads/pr/1921'

* refs/heads/pr/1921:
  Merge duplicate HTML elements
  add ARIA landmark

8 years agoMerge duplicate HTML elements
Léo Colombaro [Sat, 5 Mar 2016 18:14:40 +0000 (19:14 +0100)]
Merge duplicate HTML elements

8 years agoMerge pull request #2051 from BstName/html-fix
Léo Colombaro [Sat, 5 Mar 2016 18:02:05 +0000 (19:02 +0100)]
Merge pull request #2051 from BstName/html-fix

Fixing markup and comment

8 years agoFixing markup and comment
BestNa.me Labs [Sat, 5 Mar 2016 17:42:11 +0000 (18:42 +0100)]
Fixing markup and comment

Minor fixes in yourls-infos.php:
1. Removes an unclosed and superfluous <strong> tag in the line reading e.g.  '43 hits on January 1, 1970'. This caused wrong HTML and therefore most browsers rendered *all* dates in the list appearing on click of 'Click for more details' with bold font-weight (i.e., not only those of the best year / month / day as intended).
2. Took the liberty of also changing a closing comment token from '/**/' to the more common '**/' (in the comment titled 'I can haz debug data'). While this was perfectly valid code, it confused the syntax highlighter of github (all past the '/**/' appeared in a frightening red).

8 years agoTemp fix for http_build_url, see #2050
Léo Colombaro [Fri, 4 Mar 2016 23:23:01 +0000 (00:23 +0100)]
Temp fix for http_build_url, see #2050

8 years agoMerge pull request #2049 from BstName/+all-fix
Léo Colombaro [Fri, 4 Mar 2016 21:30:06 +0000 (22:30 +0100)]
Merge pull request #2049 from BstName/+all-fix

Fix f. missing chart bar add (+all) icon

8 years agoFix f. missing chart bar add (+all) icon
BestNa.me Labs [Fri, 4 Mar 2016 21:01:56 +0000 (22:01 +0100)]
Fix f. missing chart bar add (+all) icon

Fixes the following bug:

When allowing for multiple short URLs for a same long URL (bitly behavior [behaviour]), the chart bar adding symbol linking to YOURLS_SITE/keyword+all does not show up on infos pages.

8 years agoMerge pull request #2048 from gmolop/patch-1
ozh [Fri, 4 Mar 2016 18:24:41 +0000 (19:24 +0100)]
Merge pull request #2048 from gmolop/patch-1

Support for timezone offset in stats graph

8 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Fri, 4 Mar 2016 14:41:18 +0000 (15:41 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

8 years agoMerge pull request #2044 from master3395/patch-1
ozh [Fri, 4 Mar 2016 13:56:19 +0000 (14:56 +0100)]
Merge pull request #2044 from master3395/patch-1

Adding HTTPs for tumblr link

8 years agoTime zone offset in Stats Graph
gmo [Fri, 4 Mar 2016 11:53:56 +0000 (12:53 +0100)]
Time zone offset in Stats Graph

Stats page graph updated to use time zone offset defined in config file (YOURLS_HOURS_OFFSET).

8 years agoAdding HTTPs for tumblr link
master3395 [Tue, 1 Mar 2016 21:46:50 +0000 (22:46 +0100)]
Adding HTTPs for tumblr link

Adding HTTPs for tumblr link

8 years agoUpdate from original
BstName [Mon, 29 Feb 2016 21:19:19 +0000 (22:19 +0100)]
Update from original

8 years agoCreate ISSUE_TEMPLATE.md
Léo Colombaro [Wed, 17 Feb 2016 20:07:33 +0000 (21:07 +0100)]
Create ISSUE_TEMPLATE.md

https://github.com/blog/2111-issue-and-pull-request-templates

8 years agoSync with http_build_url
ozh [Sun, 10 Jan 2016 11:59:04 +0000 (12:59 +0100)]
Sync with http_build_url

8 years agoLoad custom textdomain only if locale set
ozh [Mon, 28 Dec 2015 10:58:48 +0000 (11:58 +0100)]
Load custom textdomain only if locale set

Fixes #2009

8 years agoPrepare potential next bugfix release
ozh [Mon, 28 Dec 2015 10:58:02 +0000 (11:58 +0100)]
Prepare potential next bugfix release

Next dot release stuff should get committed in their own branch

8 years agoAdded Sleeky in the showcase
ozh [Tue, 22 Dec 2015 17:13:48 +0000 (18:13 +0100)]
Added Sleeky in the showcase

8 years agoFetch 32K instead of 2K to find a <title>
ozh [Fri, 18 Dec 2015 21:04:30 +0000 (22:04 +0100)]
Fetch 32K instead of 2K to find a <title>

Fixes #2005

8 years agoTypo 1.7.1
ozh [Sat, 5 Dec 2015 20:59:49 +0000 (21:59 +0100)]
Typo

8 years agoMerge pull request #1998 from YOURLS/pr1824
ozh [Sat, 5 Dec 2015 11:51:33 +0000 (12:51 +0100)]
Merge pull request #1998 from YOURLS/pr1824

Dont fetch all page to get title. Fixes #1824

8 years agoNew Requests files
ozh [Sat, 5 Dec 2015 10:55:40 +0000 (11:55 +0100)]
New Requests files

8 years agoMerge branch 'master' into pr1824
ozh [Sat, 5 Dec 2015 10:54:03 +0000 (11:54 +0100)]
Merge branch 'master' into pr1824

8 years agoFilter to allow shunting external requests
ozh [Sat, 5 Dec 2015 10:33:55 +0000 (11:33 +0100)]
Filter to allow shunting external requests

8 years agoMerge pull request #1997 from YOURLS/php7
ozh [Fri, 4 Dec 2015 18:38:19 +0000 (19:38 +0100)]
Merge pull request #1997 from YOURLS/php7

PHP7 compatibility

8 years agoCall your parents, kid
ozh [Fri, 4 Dec 2015 18:34:28 +0000 (19:34 +0100)]
Call your parents, kid

8 years agoDamnit I didn't press 'Save' before pushing
ozh [Fri, 4 Dec 2015 18:27:22 +0000 (19:27 +0100)]
Damnit I didn't press 'Save' before pushing

8 years agoMore PHP7 fixes
ozh [Fri, 4 Dec 2015 18:24:54 +0000 (19:24 +0100)]
More PHP7 fixes

8 years agoCheck with PHP7
ozh [Fri, 4 Dec 2015 18:18:19 +0000 (19:18 +0100)]
Check with PHP7