diff options
author | Vinicius Dias <carlosv775@gmail.com> | 2019-05-11 21:52:06 -0300 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-05-12 03:02:38 +0200 |
commit | 188ece856d9300ef68adb73604b5de848b1276bb (patch) | |
tree | fa370b0cc04ab236a1ebc709984db9c7b60bb39b /ext/date | |
parent | 3ece7df9cf82d77ba96d6cfeee0404abf953b656 (diff) | |
download | php-git-188ece856d9300ef68adb73604b5de848b1276bb.tar.gz |
Remove duplicate variables
Removing duplicate variables `$beginDtObj` and `$beginTimestamp`.
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/tests/date_timestamp_get.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/tests/date_timestamp_get.phpt b/ext/date/tests/date_timestamp_get.phpt index dc9f6ab541..2aade6db60 100644 --- a/ext/date/tests/date_timestamp_get.phpt +++ b/ext/date/tests/date_timestamp_get.phpt @@ -6,6 +6,7 @@ Daiane Alves <daiane [at] lt [dot] coop [dot] br> Ednaldo Neimeg Marques <neimeg [at] gmail [dot] com> Henrique Ramos <henrique [at] habilissimo [dot] com [dot] br> Larissa Mourullo <larismourullo [at] gmail [dot] com> +Vinicius Dias <carlosv775 [at] gmail [dot] com> VirgĂlio de Carvalho Pontes <vigiliocpontes [at] outlook [dot] com> Vitor Mattos <vitor [at] php [dot] rio> --FILE-- @@ -16,8 +17,6 @@ var_dump($beginTimestamp); // Test the DateTime feature alias in function date_timestamp_get(). $dateTimeTz = (new DateTime('1970-01-01T00:00:00UTC'))->getTimeStamp(); -$beginDtObj = date_create('1970-01-01T00:00:00UTC'); -$beginTimestamp = date_timestamp_get($beginDtObj); var_dump($dateTimeTz === $beginTimestamp); ?> --EXPECT-- |