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,240,442
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Calendar | Stats | Ranks | Online users | Search
06-25-18 10:15 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 newer thread | Next older thread


Jamie
Posted on 08-07-15 12:45 PM Link | ID: 86847

Level: 43


Posts: 19/595
EXP: 558848
Next: 6198

Since: 06-03-14
From: England

Last post: 2 days
Last view: 18 hours
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.

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


Posts: 843/1566
EXP: 3012283
Next: 3528

Since: 01-05-12
From: France

Last post: 6 days
Last view: 4 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

Jamie
Posted on 08-10-15 11:36 AM (rev. 2 of 08-10-15 11:38 AM by Jamie) Link | ID: 86906

Level: 43


Posts: 25/595
EXP: 558848
Next: 6198

Since: 06-03-14
From: England

Last post: 2 days
Last view: 18 hours
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)

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

Level: 5


Posts: 4/4
EXP: 302
Next: 227

Since: 07-24-14

Last post: 1046 days
Last view: 828 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/1566
EXP: 3012283
Next: 3528

Since: 01-05-12
From: France

Last post: 6 days
Last view: 4 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

Nipper Plant
a mystery!
Level: 114


Posts: 4931/5410
EXP: 15955040
Next: 354527

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

Last post: 23 hours
Last view: 20 hours
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
Nipper Plant
aka Schezo
Level:114
Days:1607
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/1566
EXP: 3012283
Next: 3528

Since: 01-05-12
From: France

Last post: 6 days
Last view: 4 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: 22


Posts: 205/257
EXP: 54577
Next: 3773

Since: 12-31-17

Last post: 33 days
Last view: 7 days
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

Jamie
Posted on 01-01-18 08:17 PM Link | ID: 120010

Level: 43


Posts: 453/595
EXP: 558848
Next: 6198

Since: 06-03-14
From: England

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

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


Posts: 2/8
EXP: 817
Next: 90

Since: 11-28-14

Last post: 86 days
Last view: 86 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: 96


Posts: 3109/3234
EXP: 8950665
Next: 38121

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

Last post: 3 days
Last view: 3 days
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™


"Never Knows Best"
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 newer thread | Next older thread
Main - AcmlmBoard II Software/Bug Report Forum - PHP 7 Support


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

Page rendered in 0.101 seconds. (887KB of memory used)
MySQL - queries: 146, rows: 522/556, time: 0.053 seconds.