Join David Powers for an in-depth discussion in this video Setting the version of PHP for an individual site, part of Dreamweaver CC New Features.
In the previous video,…I changed the default version of PHP…in preferences to PHP 7.1,…and I've opened a file called destructure.php…which contains a short script that uses…the feature that's new to PHP 7.1.…As these results in live view clearly show,…I'm using valid syntax, the script is running fine.…But down here in code view, the line number for line 7…has turned red and if I mouse over it,…we get an error message, syntax error,…unexpected left square bracket.…
Dreamweaver's syntax checker is objecting to this structure.…Here I'm using the shorthand array structure…inside a foreach loop, and this is a technique…which is known as array destructuring assignment.…It's new to PHP 7.1, and it's a shorthand way of assigning…keys of this multi-dimensional array to new variables.…So why is Dreamweaver displaying a false error…message even though I set the default PHP…version in preferences to 7.1?…Well, the answer is that each individual site…can have its own level of PHP syntax checking and COTense.…
So we need to go to the site definition.…
- Restricting the scope of a quick search
- Finding and replacing more selectively
- Advanced find and replace in a specific tag
- Setting the default version of PHP in Preferences
- Applying a link to selected text in Live View
- Changing information displayed in the Files panel
Skill Level Intermediate
Q: This course was updated on 10/18/2017. What changed?
A: The following topics were updated: find and replace and PHP support. In addition, new videos were added that cover code view improvements, Real-Time Preview, and CSS preprocessor integration.
Q: This course was updated on 03/30/2018. What changed?
A: New videos were added that cover using Bootstrap 4 and switching to Bootstrap 3.
Q: This course was updated on 12/20/2018. What changed?
Designing Websites from Photoshop to Dreamweaverwith Sue Jenkins2h 27m Intermediate
Creating a Responsive Web Designwith Chris Converse3h 47m Beginner
1. Code View Improvements
2. Real-Time Preview
3. CSS Preprocessor Integration
4. Find and Replace
5. PHP Support
PHP code hints5m 59s
6. Other Changes
Dreamweaver CC 2018 MAX Release
Overview of new features2m 43s
8. Bootstrap 4 Integration
9. Dreamweaver CC 2019 MAX Release
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.