Ticket #1038 (closed task: wontfix)

Opened 3 years ago

Last modified 10 months ago

use the const keyword instead of define

Reported by: laurentj Owned by:
Priority: normal Milestone: Jelix 1.5.0
Component: jelix Version: trunk
Severity: normal Keywords:
Cc: Php version: 5.3
Hosting Provider: Blocked By:
Documentation needed: no Blocking: 463

Description

in PHP 5.3, we can use the const keyword instead of define. We should replace our defines.

Change History

Changed 17 months ago by laurentj

  • status changed from new to confirmed

Changed 11 months ago by laurentj

  • milestone changed from Jelix 2.0 to Jelix 1.5

Changed 10 months ago by laurentj

  • status changed from confirmed to closed
  • resolution set to wontfix

In fact, most "define" contain calculated values, so we cannot turn them into true constant.

Note: See TracTickets for help on using tickets.