skip to main | skip to sidebar

Red Monkey Findings

Wednesday, 19 March 2008

Casting in PHP

Casting seems relatively straight-forward:
$test = 1234;
$test_string = (string)$test;

Simple.
Posted by Michele at 21:24
Labels: PHP

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2008 (35)
    • ►  May (11)
    • ►  April (6)
    • ▼  March (17)
      • Google Maps on the fly
      • Javascript: Binding and Scope
      • Printing Arrays in PHP
      • VirtualHosts in Apache, Leopard
      • Unix Aliases
      • MySQL wrapper class
      • SQLite
      • Useful Links
      • Smarty: A PHP template Engine
      • PHP: the ? operator
      • Casting in PHP
      • Unix pipes and other commands
      • MySQL basics
      • Hello Michele!
      • .inc files and libraries
      • mod_rewrite
      • Apache settings
    • ►  January (1)

Contributors

  • Michele
  • Paolo