Recommended Posts

http://www.php.net/

Server-side web programming language. If you don't know what it is, you don't need it. :p

Changes from NEWS:

  Quote
11 Nov 2011, PHP 5.4.0 RC1

General improvements:

  • Changed silent conversion of array to string to produce a notice. (Patrick)
  • Added class member access on instantiation (e.g. (new foo)->bar()) support. (Felipe)

CLI SAPI:

  • Fixed bug #60112 (If URI does not contain a file, index.php is not served).
    (Laruence)
  • Fixed bug #60115 (memory definitely lost in cli server). (Laruence)
  • Fixed bug #60146 (Last 2 lines of page not being output). (Laruence)
  • Fixed bug #60180 ($_SERVER["PHP_SELF"] incorrect). (Laruence)
  • Fixed bug #60189 (php logo can not be displayed). (Laruence)

Core:

  • Fixed bug #60120 (proc_open's streams may hang with stdin/out/err when
    the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)
  • Fixed bug #60174 (Notice when array in method prototype error). (Laruence)
  • Fixed bug #60169 (Conjunction of ternary and list crashes PHP).
    (Laruence)
  • Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to
    is_a and is_subclass_of). (alan_k)

Oracle Database extension (OCI8):

  • Increased maxium Oracle error message buffer length for new 11.2.0.3 size. (Chris Jones)

SPL extension

  • Reverted changes that required constructor overrides to invoke the parent
    constructor in several SPL classes and applied 5.3 fixes instead.
    Related bugs: #54384, #55175 and #55300.
  • Fixed bug #60201 (SplFileObject::setCsvControl does not expose third
    argument via Reflection). (Peter)

Tokenizer extension

  • Fixed bug #54089 (token_get_all with regards to __halt_compiler is
    not binary safe). (Nikita Popov)

SAPI:

  • Fixed bug #60205 (possible integer overflow in content_length). (Laruence)

Link to comment
https://www.neowin.net/forum/topic/1038521-php-54-rc1/
Share on other sites

  On 12/11/2011 at 12:17, Avi said:

Server-side web programming language. If you don't know what it is, you don't need it. :p

Correction: If you don't know what it is, you need it more. ;)

In all seriousness, with the exception of some special cases, a web developer who doesn't know PHP, should.

Link to comment
https://www.neowin.net/forum/topic/1038521-php-54-rc1/#findComment-594448655
Share on other sites

5.4 is shaping up to be a really good release.

  Quote

Added class member access on instantiation (e.g. (new foo)->bar()) support. (Felipe)

This and traits (aka mixins) are going to completely change PHP again. I'm really looking forward to it's final release.

Link to comment
https://www.neowin.net/forum/topic/1038521-php-54-rc1/#findComment-594448675
Share on other sites

  On 12/11/2011 at 13:00, HeyRatFans said:

5.4 is shaping up to be a really good release.

This and traits (aka mixins) are going to completely change PHP again. I'm really looking forward to it's final release.

i am installing 5.4 on my dev server purely for this reason

Link to comment
https://www.neowin.net/forum/topic/1038521-php-54-rc1/#findComment-594448683
Share on other sites

  On 12/11/2011 at 12:24, ClearSkies said:

Correction: If you don't know what it is, you need it more. ;)

In all seriousness, with the exception of some special cases, a web developer who doesn't know PHP, should.

Which is a shame really, since it's not that good (There are better languages and runtimes)

Link to comment
https://www.neowin.net/forum/topic/1038521-php-54-rc1/#findComment-594448711
Share on other sites

  On 12/11/2011 at 12:24, ClearSkies said:

Correction: If you don't know what it is, you need it more. ;)

In all seriousness, with the exception of some special cases, a web developer who doesn't know PHP, should.

Correction: If you know what it is, you need it less ;)

At least it was like that at 3.5... I've since stopped using it on a daily basis

Link to comment
https://www.neowin.net/forum/topic/1038521-php-54-rc1/#findComment-594450145
Share on other sites

  On 12/11/2011 at 21:38, Aethec said:

...wait.Before this update you couldn't even do new Foo().Bar() ? Seriously?

Yep :( An annoying oversight by the PHP developers for such a long time. Glad they've fixed it for 5.4!

Now all they need to do is fix all the bugs with the DateTime object and I'll be a happy bunny.

Link to comment
https://www.neowin.net/forum/topic/1038521-php-54-rc1/#findComment-594450425
Share on other sites

This topic is now closed to further replies.
  • Posts

    • Fair shout! But the best way to get this on our news side would be to have Pulasti @LoneWolfSLhave a crack at Early Access when its in a playable state  
    • Interesting. Seems to promote or invite more people to use whatsapp.
    • AI is going to destroy online as well as offline worlds.
    • QOwnNotes 25.8.0 by Razvan Serea QOwnNotes is a open source (GPL) plain-text file notepad with markdown support and todo list manager for GNU/Linux, Mac OS X and Windows, that (optionally) works together with the notes application of ownCloud (or Nextcloud). So you are able to write down your thoughts with QOwnNotes and edit or search for them later from your mobile device (like with CloudNotes) or the ownCloud web-service. The notes are stored as plain text files and you can sync them with your ownCloud sync client. Of course other software, like Dropbox, Syncthing, Seafile or BitTorrent Sync can be used too. Features: the notes folder can be freely chosen (multiple note folders can be used) sub-string searching of notes is possible and search results are highlighted in the notes application can be operated with customizable keyboard shortcuts external changes of note files are watched (notes or note list are reloaded) older versions of your notes can be restored from your ownCloud server trashed notes can be restored from your ownCloud server differences between current note and externally changed note are showed in a dialog markdown highlighting of notes and a markdown preview mode notes are getting their name from the first line of the note text (just like in the ownCloud notes web-application) and the note text files are automatically renamed, if the the first line changes compatible with the notes web-application of ownCloud and mobile ownCloud notes applications compatible with ownCloud's selective sync feature by supporting an unlimited amount of note folders with the ability to choose the respective folder on your server manage your ownCloud todo lists (ownCloud tasks or Tasks Plus / Calendar Plus) or use an other CalDAV server to sync your tasks to encryption of notes (AES-256 is built in or you can use custom encryption methods like Keybase.io (encryption-keybase.qml) or PGP (encryption-pgp.qml)) dark mode theme support theming support for the markdown syntax highlighting all panels can be placed wherever you want, they can even float or stack (fully dockable) support for freedesktop theme icons, you can use QOwnNotes with your native desktop icons and with your favorite dark desktop theme support for hierarchical note tagging and note subfolders support for sharing notes on your ownCloud server portable mode for carrying QOwnNotes around on USB sticks Evernote import QOwnNotes is available in many different languages like English, German, French, Polish, Chinese, Japanese, Russian, Portuguese, Hungarian, Dutch and Spanish QOwnNotes 25.8.0 changelog: More warning log messages were ignored for Qt 6.9.1 Download: QOwnNotes 25.8.0 | 71.4 MB (Open Source) Download: QOwnNotes for Other Operating Systems View: QOwnNotes Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Patch My PC - Home Updater 5.3 Final is out.
  • Recent Achievements

    • Collaborator
      bullgod69 earned a badge
      Collaborator
    • Enthusiast
      Ed B went up a rank
      Enthusiast
    • Reacting Well
      Xinotema earned a badge
      Reacting Well
    • Dedicated
      Edward266 earned a badge
      Dedicated
    • First Post
      Markvens earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      760
    2. 2
      ATLien_0
      187
    3. 3
      +FloatingFatMan
      151
    4. 4
      Xenon
      118
    5. 5
      wakjak
      113
  • Tell a friend

    Love Neowin? Tell a friend!