Comments
These are comments left by visitors. Leave a comment if you want to say hi, found something on the website that needs some adjustment, or want to tell everyone how your day is going.

Matej - 3 weeks ago
Thanks:
First of all, thank you. I'm using your services for years now, and I appreciate your site immensely.
Intro:
Since PHP 7.4 there is a null coalescing assignment operator (
??=
). It sets the variable on the left with the value of the expression on the right if and only if the variable is undefined or null, to begin with.
Issue:
I'm using PHP 8.1 and while the code where I use this operator works great, I would like to point out that the editor shows there's an error in my code.
Example:
public function test($var = null) {
$var ??= 0; // PHP Code Editor: Syntax error, unexpected '='
return $var + 1;
}

Jeroen - 1 week ago
I spent most of the day updating the ACE editor code to support PHP 8.1 and updated it on the website. You can see a demo with most new functionality here: https://onlinephp.io/c/php8.1-aceeditor-demo.
I submitted my code to the ACE repo on github so other people using this editor will benefit too. Thanks again!

Jeroen - 3 weeks ago
Thank you for this!
I use the ace editor on this website. It a seems they don't support the safe null operator yet. When I have some time I'll look into this and contribute a fix or wait for an update

webtrekker UK - 4 weeks ago
Excellent work! Well done! This is a very useful PHP editor and previewer, available everywhere too rather than only as a dedicated installation. Only one thing I would like to see implemented and that would be the option to view the editor full screen. I know the panes can be dragged to size but a fullscreen button would be a nice addition IMHO.

Jeroen - 4 weeks ago
That is a great idea! I'll implement this soon. Thank you!

webtrekker UK - 3 weeks ago
Much appreciated, and thank you for such a quick response.

Jeroen - 1 week ago
I implemented a better full sized editor today. It's not 100% full-screen, but I think this should do the trick. Thanks again for the suggestion!

Tobias Schrull - 1 month ago
I really like how this page has evolved over the last few weeks.
Thank you! I really like it!

Kylychbek Turdakunov - 1 month ago
[like]

Juuso Turunen - 1 month ago
Cool!

Jeroen - 1 month ago
Hi, welcome to the new comment system. It needs some work, but it works for now.

MouseZver - 1 month ago
test test test

Jeroen - 1 month ago
That worked :)

Duy Thiện - 1 month ago
:D
Archived comments
Facebook comments (April 2018 - April 2022)Discuss comments (February 2009 - April 2018)
Huush - 1 week ago
Jeroen - 1 week ago
Huush - 1 week ago
Jeroen - 1 week ago
Huush - 1 week ago
Jeroen - 5 days ago