Skip to content

Keep XAMPP & Install WAMP

I am using Windows 7 and I have XAMPP installed. In Git Bash when I type php -v I get PHP 5.6.15. I need newer version of PHP because I am using Composer and I am unable to install packages that require PHP 7.1. I know that one way to solve this is to backup projects, uninstall the current XAMPP

PHP fclose writing 0x30 0x33 to end of file

I am tring to create a binary file from a hex caractere array, it works as expected on the file but fclose writes unexpected 0x31, 0x30 and 0x33 bytes at the end of the file. This behavior does not …

PHP base64 decode returns garbage characters

I’m decoding a string that was encoded in Python. When using an online simulator for the decoding: https://www.base64decode.org/ The correct value is presented but when I’m decoding it on my end using PHP base64_decode it returns garbage characters: [“(“,”bean_id”,”=�…