6.0.0-beta1
8/15/25

[#13419] PHP Parse error: syntax error, unexpected '{', expecting T_STRING or T_VARIABLE or '$' in /usr/share/pear/Horde/String/Transliterate.php on line 62, referer: /pear/Horde/String/Transliterate.php
Summary PHP Parse error: syntax error, unexpected '{', expecting T_STRING or T_VARIABLE or '$' in /usr/share/pear/Horde/String/Transliterate.php on line 62, referer: /pear/Horde/String/Transliterate.php
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester klaus (at) tachtler (dot) net
Created 08/06/2014 (4027 days ago)
Due
Updated 04/09/2023 (859 days ago)
Assigned
Resolved 08/06/2014 (4027 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/09/2023 03:54:10 PM asfasf (at) gmail (dot) com Comment #8 Reply to this comment
<p><div><a href="https://sensational.id/slot-online/">Link Here</a></div></p>
<p><div><a href="https://wshare18.site/">Link Here</a></div></p>
<p><div><a 
href="https://bapenda.malukutenggarakab.go.id/bapenda/e_sppd/slot-online/">Link 
Here</a></div></p>
<p><div><a href="https://mui-lplhsda.org/">Link Here</a></div></p>
<p><div><a href="https://boboho333.xyz/">Link Here</a></div></p>
<p><div><a href="https://www.depo10bonus20.com/">Link Here</a></div></p>
<p><div><a href="https://sabunmandiku.com/">Link Here</a></div></p>
03/10/2023 06:39:10 AM sahubawa (at) gmail (dot) com Comment #7 Reply to this comment

[Show Quoted Text - 24 lines]
08/14/2014 05:27:49 PM Michael Slusarz Comment #6 Reply to this comment
Try Horde_Util 2.5.2
08/14/2014 01:31:28 PM Jasper (dot) Olbrich (at) students (dot) uni-marburg (dot) de Comment #5 Reply to this comment
We are now (with Horde_Util 2.5.0, PHP Version 5.4.4) getting a lot of

NOTICE: HORDE-5.2.1 [turba] PHP ERROR: Use of undefined constant self 
- assumed 'self' [pid 38642 on line 62 of 
"xxx/Horde/String/Transliterate.php"]

Is the "assumed 'self'" doing the right thing? I'm only seeing this 
message in the logs, couldn't yet reproduce and test.
08/07/2014 08:39:01 AM klaus (at) tachtler (dot) net Comment #4 Reply to this comment
Hello,
Only affects old PHP 5.3. Horde_Util 2.5.0
PHP 5.3 ist the standard in RHEL 6 / CentOS 6 and other derivates of RHEL 6.

Thank you for the fast patch!
Klaus.
08/06/2014 07:20:36 PM Michael Slusarz Comment #3
State ⇒ Resolved
Priority ⇒ 1. Low
Assigned to Michael Slusarz
Reply to this comment
Only affects old PHP 5.3. Horde_Util 2.5.0
08/06/2014 07:19:29 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 10b42de3e7c89e9841fd8a407651eb1af08b3af0
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Aug 6 12:16:17 2014 -0600

     [mms] Fix regression in Horde_String_Transliterate for PHP 5.3 
(Bug #13419).

     Sigh. phpdoc doesn't say on the doc page that this isn't supported - it
     is only a single line in the changelog that reveals this.

  framework/Util/lib/Horde/String/Transliterate.php |    2 +-
  framework/Util/package.xml                        |    2 ++
  2 files changed, 3 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/10b42de3e7c89e9841fd8a407651eb1af08b3af0
08/06/2014 07:59:19 AM klaus (at) tachtler (dot) net Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ PHP Parse error: syntax error, unexpected '{', expecting T_STRING or T_VARIABLE or '$' in /usr/share/pear/Horde/String/Transliterate.php on line 62, referer: /pear/Horde/String/Transliterate.php
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi,

when I open a mailbox the error

PHP Parse error:  syntax error, unexpected '{', expecting T_STRING or 
T_VARIABLE or '$' in /usr/share/pear/Horde/String/Transliterate.php on 
line 62, referer: 
http://my.horde.installation/imp/dynamic.php?page=mailbox

are in the horde.log and the mailbox content will not be shown, only 
an "Server communicatin error" on the frontend, will be shown.

Code: Line 62:
===========

             if (($out = self::{$val}($str)) !== false) {

Maybe it must be: Line 62:
=======================

             if (($out = self::$val($str)) !== false) {

Thank you!
Klaus.

Saved Queries