I am using php 5.4 and is giving error function "hex2bin" because the version of php 5.4 already exists a function with the same name.

CommentFileSizeAuthor
#2 swfupload-hex2bin-1627388-2.patch1.16 KBbart.hanssens

Comments

bart.hanssens’s picture

Workaround would be just commenting out the hex2bin on your site, but that doesn't work for others not running PHP 5.4, so a small change in the swfupload's function name would do the trick

bart.hanssens’s picture

Status: Active » Needs review
StatusFileSize
new1.16 KB

Quick patch

Sneakyvv’s picture

patch works likes a charm!

danielphenry’s picture

Priority: Normal » Major
Issue summary: View changes

PCI complience now requires php 5.4. The ups the priority of this patch as any site requiring pci complience will need it.

askibinski’s picture

Status: Needs review » Reviewed & tested by the community

needed this patch when upgrading to 5.4, works great, looks good!

Countzero’s picture

Same here : did the work on a 5.4 server. Thanks.

mrP’s picture

+1 RTBC.

Thanks!