Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Dreamweaver seems to report valid PHP code as a syntax error

Participant ,
Apr 26, 2025 Apr 26, 2025

In Dreamweaver, I have the following function:
Screenshot 2025-04-27 142728.png
This function, and the whole file that contains it, runs without error on my server, so I believe it is valid PHP code.

However, Dreamweaver is displaying errors, claiming there is a syntax problem.

I believe the syntax I'm using is valid since PHP version 7 or 8. Dreamweaver seems to only reference PHP 5.6 or 7.1. I have selected for Dreamweaver to reference PHP 7.1, but this has not made a difference.
Screenshot 2025-04-27 143304.png

Why is Dreamweaver marking my code as incorrect? Is the PHP in some way non-standard, even though it works? Or is this a limitation of Dreamweaver?

TOPICS
Code , Error
941
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 27, 2025 Apr 27, 2025

This is a limitation of DW. Currently it is in minimal maintenance mode only receiving critical updates and hasn't been getting updated with PHP as the current version is 8.4. If you need to recommend a code editor, you could use VS Code or Nova (Mac only) as a more advanced editor.

Translate
Community Expert ,
Apr 27, 2025 Apr 27, 2025

This is a limitation of DW. Currently it is in minimal maintenance mode only receiving critical updates and hasn't been getting updated with PHP as the current version is 8.4. If you need to recommend a code editor, you could use VS Code or Nova (Mac only) as a more advanced editor.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 27, 2025 Apr 27, 2025

I was completely unaware Dreamweaver is not being actively maintained.

 

Is Adobe going to discontinue it?

I have used VS Code, but it's not for me. I liked Atom, but that was also discontinued.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 27, 2025 Apr 27, 2025

Try Wappler instead. Here I start a new NodeJS project and create the databas and tables:

https://youtu.be/kCPU6dN7riU?si=McdOBoP8mGQlJiwZ

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 28, 2025 Apr 28, 2025

Wappler's pricing is ridiculously high. It's almost the same price as the enture Adobe Creative Cloud.

So, thank for the suggestion, but I won't be using them.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2025 Apr 28, 2025
quote

Wappler's pricing is ridiculously high. It's almost the same price as the enture Adobe Creative Cloud.


By @Dave_Draws

 

That is a slight exaggeration.

 

This is Adobe Creative Cloud 

BenPleysier_0-1745832904892.png

 

And this is Wappler

BenPleysier_1-1745832937425.png

 

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 28, 2025 Apr 28, 2025

$699 USD is 580 EUR, so I was wrong, it's only half the price.

But still, that's half the Adobe Creative Cloud price for one program, compared with all the software and other options included with Adobe.

I'm not saying Adobe has fair pricing, I'm just saying, I'm not going to add another 50% monthly or annual cost to replace just one title in my Creative Cloud suite.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2025 Apr 28, 2025

Have you tried this "no hands" solution? 

https://youtu.be/TF2OP509pEI?si=jKR_3fEsh_CkDOkW

 

Can also be done using VSCode.

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2025 Apr 28, 2025
LATEST

CODE EDITORS (free & paid), optional add-ons may be required.
-- Codespaces (free, browser-based) - https://github.com/features/codespaces
-- Notepad++ (free) - https://notepad-plus-plus.org/
-- Nova (Mac only, formerly called Coda) - https://nova.app/
-- Pinegrow - https://pinegrow.com/
-- Sublime Text - http://www.sublimetext.com/
-- Visual Studio Code (free) - https://code.visualstudio.com/
-- Wappler ~ Visual Web App Builder - https://wappler.io/


Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 27, 2025 Apr 27, 2025

Use a PHP IDE that's in active development alongside Dreamweaver.

 

PHP Storm by JetBrains offers a 30-day free trial.

https://www.jetbrains.com/phpstorm/

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines