Ryan Rampersad
Thoughts, Ideas & Opinions

Browse: Home / PHP

PHP

Parse error: syntax error, unexpected T_AS

By Ryan on October 25, 2011

I was doing some PHP work after a long hiatus. You get used to one language and when you back to another, you just forget things sometimes. I received an unexpected T_AS. Parse error: syntax error, unexpected T_AS, expecting ‘;’ in /homepages/224/d19925234/htdocs/kdelli/working/index.php on line 18 The error is so descriptive! Well, more so than others, [...]

Posted in Errors, PHP | Tagged errors, loops, PHP | Leave a response

Upcoming PHP 5.4 Features – Arrays

By Ryan on July 25, 2011

The post tile was a little misleading. PHP.net has the full changeset for the PHP 5.4alpha. Two remarkable language features coming in PHP 5.4. Array dereferencing, or calling a function and acting upon it directly as if it were an array. In addition, a new short syntax for creating arrays akin to the JavaScript array [...]

Posted in PHP | Tagged PHP, syntax, updates | Leave a response

PHP 5.4 & WordPress Compatiability

By Ryan on July 10, 2011

PHP 5.4 compatibility warnings on creating default object from empty value. The WordPress trac had a ticket filed that mentions PHP 5.4 and I mentioned its imminent arrival in the wake of a very specific host not supporting even the latest stable version of PHP 5.3 officially. I wonder about the future of PHP.

Posted in PHP, WordPress | Tagged PHP, WordPress | Leave a response

PHP 5.3.99-dev on 1and1

By Ryan on June 22, 2011

A few days after wondering where PHP 5.3 support was on 1and1, I found this little gem in the 1and1 FAQ: PHP 6 support. The full document explains that you can but shouldn’t enable PHP 6 because it’s in developmental stages. When I throw an .htaccess file with the PHP6-ify directive, AddType x-mapp-php6 .php, in [...]

Posted in PHP | Tagged PHP, Rants, unified | 17 Responses

And Now PHP 5.4

By Ryan on June 22, 2011

PHP 5.4 proposed general availability for 2011. I mistyped 5.3 and wound up with 5.4. My search came back with a bunch of PHP 5.4 news. So, there is hardly broad support for PHP 5.3 and little usage as it is. PHP 5.4 is apparently coming soon then with at least a few new features.

Posted in Links | Tagged PHP, pre-release | Leave a response

Next »

Navigation

  • Home
  • About
  • Contact
  • Archives

Recent Tweet

  • I said 'like' so many times in a description of Journey I cried upon playback. 1 hour ago

Recent Posts

  • Modifying WordPress Feed Titles
  • Centralization
  • Fall Schedule 2012
  • Spring Advising
  • Restart HP TouchPad
  • BestBuy’s Great Potential
  • Do-While Loop in Python
  • New At The Nexus & Nexus Special
  • Random Integers in Python
  • Motorola Triumph Review

Popular Topics

Apple Browsers errors exam Google Java JavaScript linux Microsoft MooTools PHP podcast review terminal Tips twitter ubuntu unified Windows WordPress

Search

Archives

  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Copyright © 2012 Ryan Rampersad.

Powered by WordPress, Hybrid, and Defined Mass.