This application is not used any more and exists only for history. Post new tickets on the Github account.
Cette application n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Ticket #1038 (closed task: wontfix)

Opened 5 years ago

Last modified 2 years 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: Blocked By:
Blocking: #463 Documentation needed: no
Hosting Provider: Php version: 5.3

Description

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

Change History

comment:1 Changed 3 years ago by laurentj

  • Status changed from new to confirmed

comment:2 Changed 2 years ago by laurentj

  • Milestone changed from Jelix 2.0 to Jelix 1.5

comment:3 Changed 2 years 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.