Declare control structure in php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

Declare control structure in php

The declare construct is used to set execution directives for a block of code. The syntax of declare is similar to the syntax of other flow control constructs: declare (directive) statement The directive section allows the behavior of the declare block to be set. Currently only three directives are recognized: the ticks directive, the encodingdirective and the strict_typesdirective i dont know what is directive and how to set directive...please explain me all three types of directive with example or code

7th Jan 2019, 7:00 PM
👑Mahesh Khatri👑
👑Mahesh Khatri👑 - avatar
2 Answers
9th Jan 2019, 2:58 AM
Kiyoshi G Yoshida 🇧🇷
Kiyoshi G Yoshida 🇧🇷 - avatar
+ 1
PHCE090918
9th Feb 2019, 5:30 AM
AGUS AGUS
AGUS AGUS - avatar