Bug #77284 [Opn->Fbk]: base64

From: Date: Tue, 11 Dec 2018 20:53:15 +0000
Subject: Bug #77284 [Opn->Fbk]: base64
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218394@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77284&edit=1

 ID:                 77284
 Updated by:         danack@php.net
 Reported by:        anubas at hotmail dot com
 Summary:            base64
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            *URL Functions
 Operating System:   FreeBSD 11.2-RELEASE-p5
 PHP Version:        7.3.0
 Block user comment: N
 Private report:     N

 New Comment:

I can't reproduce the bug: https://3v4l.org/omfrZ

This is going to be a problem either with your system, or some other problem we can't help
with.

Please feel free to update this with a reproducible case.


Previous Comments:
------------------------------------------------------------------------
[2018-12-11 20:44:20] anubas at hotmail dot com

Description:
------------
Problem: $x != $z in the test script below.

Test script:
---------------
<?php

$x = 'This is a string';
$y = base64_encode($x);
$z = base64_decode($y);

if ($x != $z) {
    print 'base64 encoding/decoding broken';
}

Expected result:
----------------
$x == $z

Actual result:
--------------
$x != $z


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=77284&edit=1


Thread (13 messages)

« previous php.bugs (#218394) next »