Points of Required Attention™
Acmlmboard 2 Released
Github/GIT | @acmlmboard | IRC: #abdev
Chatting Places
IRC: #kafuka | Discord

Affiliates
Super Mario Bros. X | Kuribo64
Views: 5,128,492
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Calendar | Stats | Ranks | Online users | Search
04-24-18 08:44 AM
Guest: Register | Login

0 users currently in AcmlmBoard II Software/Bug Report Forum | 1 guest

Main - AcmlmBoard II Software/Bug Report Forum - PHP 7 Support
Next older thread


IceFairyAmy
Posted on 08-07-15 12:45 PM Link | ID: 86847
i lost all hope in me mtfing :(
Level: 41


Posts: 19/536
EXP: 467713
Next: 12432

Since: 06-03-14
From: England

Last post: 14 days
Last view: 14 days
Will AcmlmBoard 2 ever support PHP 7?

I think it's planned for October, and some host services at some point, will drop support for PHP 5 (probably in a year or two), so it might be good, to make it PHP 7 compatible in the near future.

____________________
Layout by Thierry.

StapleButter
Posted on 08-09-15 05:59 PM Link | ID: 86891
Developer
Acmlmboard has... side effects
Level: 70


Posts: 843/1561
EXP: 2958233
Next: 57578

Since: 01-05-12
From: France

Last post: 8 days
Last view: 5 days
And you post that in a dramatic tone, as if PHP7 required some major code changes for PHP5 code to work under it. Do you actually know anything about that?


(also, why the hell are your posts centered?)

____________________
Kuribo64 - we hack shit

IceFairyAmy
Posted on 08-10-15 11:36 AM (rev. 2 of 08-10-15 11:38 AM by IceFairyAmy) Link | ID: 86906
i lost all hope in me mtfing :(
Level: 41


Posts: 25/536
EXP: 467713
Next: 12432

Since: 06-03-14
From: England

Last post: 14 days
Last view: 14 days
No, I mean, some of it might say all that deprecated crap and it might look stupid, I don't know the actual changes made to the code though.

And my posts are centred, because of the footer being centred, it would look stupid to have the main posts not centred. I'll read the layout rules if this is a violation of the rules.

edit: oh shit, where the hell are the board rules? (and also, delete this crappy thread if it's useless)

____________________
Layout by Thierry.

Xeon
Posted on 08-14-15 03:26 AM Link | ID: 86993
Developer
Newcomer

Level: 5


Posts: 4/4
EXP: 296
Next: 233

Since: 07-24-14

Last post: 984 days
Last view: 766 days
he's banned, but the version I've been working on should work on PHP 5.4+ and be compatible with PHP 7 strict mode (i'm running the latest beta of PHP 7 for development).

____________________

StapleButter
Posted on 10-12-16 12:16 AM (rev. 2 of 10-12-16 05:47 PM by StapleButter) Link | ID: 93434
Developer
Acmlmboard has... side effects
Level: 70


Posts: 1252/1561
EXP: 2958233
Next: 57578

Since: 01-05-12
From: France

Last post: 8 days
Last view: 5 days
Resurrecting this thread to give you some feedback about this, as I just did the jump.

My board isn't AB2.5, but there are still a few points of interest:

* The /e modifier for preg_replace(), which was already deprecated, isn't supported anymore. Any such preg_replace() calls seem to return blank strings.

* Not related to PHP, but recent MySQL versions run in strict mode by default. If a string is too long to fit in its field, or non-int data is inserted in an int field, it throws an error instead of truncating. (worst case, it can be made to run in non-strict mode)

* The new ?? operator might help bringing down the number of "accessing undefined array index" notices and other shit.

* The new version of mcrypt is picky. If encryption keys aren't a 'good' length (16/24/32 possible for AES256), it throws an error.

* Division by zero returns NaN. Watch out for that.

____________________
Kuribo64 - we hack shit

Schezo
Posted on 10-12-16 07:49 PM (rev. 2 of 10-12-16 07:49 PM by Schezo) Link | ID: 93448
Global Moderator

Mole
Welcome to the green planet
Level: 113


Posts: 4931/5356
EXP: 15410406
Next: 408155

Since: 01-29-14
From: ???

Last post: 20 min.
Last view: 20 min.
Post #4931
the strict mcrypt isn't actually new to PHP 7

I've had the same issue when I tested AB 2.5.3 some time ago on PHP 5.6.15, and the error given for this wasn't exactly clear (this is PHP after all, what was I expecting)

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Mole
aka Schezo
Level:113
Days:1545
Ranked:6
Links
???
Twitter
YouTube
Website

StapleButter
Posted on 10-16-16 04:51 PM Link | ID: 93636
Developer
Acmlmboard has... side effects
Level: 70


Posts: 1270/1561
EXP: 2958233
Next: 57578

Since: 01-05-12
From: France

Last post: 8 days
Last view: 5 days
Oh. The more you know :P


Also, postdiff.php/lol.php will be broken. PHP7 made changes regarding OOP, and shit like "&new Object()" doesn't work anymore (it's a syntax error).

The whole diff engine also needs to be fixed, it keeps passing objects around by reference even though doing so is pointless.

I fixed the diff engine, here. I removed the docs and tests folders which are useless for the board.

____________________
Kuribo64 - we hack shit

NightYoshi370
Posted on 01-01-18 08:10 PM Link | ID: 120004


Level: 20


Posts: 205/245
EXP: 40839
Next: 1600

Since: 12-31-17

Last post: 12 days
Last view: 18 hours
Sorry again for the bump, but I'm legitamently wanting to try out acmlmboard, and this is the only thing holding me back.

How's progress on this been so far? Has it been merged into the main repo

____________________
Mario Making Mods

IceFairyAmy
Posted on 01-01-18 08:17 PM Link | ID: 120010
i lost all hope in me mtfing :(
Level: 41


Posts: 453/536
EXP: 467713
Next: 12432

Since: 06-03-14
From: England

Last post: 14 days
Last view: 14 days
Does the strict mode stuff explain why mysql 5.7 breaks alot of stuff @staple?

____________________
Layout by Thierry.

Bill Cipher
Posted on 03-30-18 12:54 PM Link | ID: 129645
Banned
Newcomer
Lies.. Lies.. SLANDER!!
Level: 6


Posts: 2/8
EXP: 797
Next: 110

Since: 11-28-14

Last post: 24 days
Last view: 24 days
PHP 7.. I can make that happen for you.. but it'll cost you. Oh common, It's just a handshake!

Emuz
Posted on 03-30-18 12:58 PM Link | ID: 129648
Acmlmistrator

11 Hit Combo:
Mother's Rosario
Level: 95


Posts: 3109/3181
EXP: 8616386
Next: 52221

Since: 12-30-11
From: Akron, Ohio; USA

Last post: 13 hours
Last view: 6 hours
Posted by Bill Cipher
PHP 7.. I can make that happen for you.. but it'll cost you. Oh common, It's just a handshake!


Umm.. yeah no. It works on PHP7 according to Schezo. GO away!

The Dynamic Profile Administrator™


"Wastashi Dake ga Inai Boaado"
Note: if you can see this my layout broke. ALL THE CREDITS WILL BE REVEALED!!
'Victory Noriko' by @thatsheepagain.
'Chibi Dance Noriko' by @Haru__Kitsu.
'Deity's Night Out (Featuring Gabbie)'
by @thatsheepagain
Noriko Emotes by @Haru__Kitsu.
Side Bar Noriko by @thatsheepagain
'Noriko's Nature Walk' by @projectTiGER_
Emotive Noriko by @thatsheepagain.
"Space Candy Noriko" by BerryVerrine.
"Super Sharp Noriko" by Xionfes.
A gift illustration from the wonderful EverKinzPony!
"Magical Girl Noriko" by @cute_hospital!
"Patient Chibi Noriko" by @Ruii_ki!
'Dapper '60s Noriko' by @thatsheepagain.
'Shiny Chibi Noriko' by @inioli.
'Flower Veil Noriko' by @Sushiee_.
'Noriko in Realism' by @_Sarybuu.
'Noriko's Midnight Adventure' by @projectTiGER_

Next older thread
Main - AcmlmBoard II Software/Bug Report Forum - PHP 7 Support


Acmlmboard v2.5.4 (4/12/2018)
© 2005-2018 Acmlm, Emuz, et al.

Page rendered in 0.131 seconds. (617KB of memory used)
MySQL - queries: 145, rows: 516/0, time: 0.075 seconds.