php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26091 left()
Submitted: 2003-11-03 01:32 UTC Modified: 2003-11-17 18:16 UTC
From: drei at porrigt dot se Assigned:
Status: No Feedback Package: MySQL related
PHP Version: 4.3.3 OS: Linux mini 2.4.22
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: drei at porrigt dot se
New email:
PHP Version: OS:

 

 [2003-11-03 01:32 UTC] drei at porrigt dot se
Description:
------------
it could be that php is compiled the wrong way, or this could be a bug. im not sure.

the problem is with the left() syntax in mysql, it wont output anything.

working fine when i run it in a shell, but not with php!

Reproduce code:
---------------
select left(blob,5) from table

Expected result:
----------------
if blob would contain 'abcdefghijklmnopqrstuvwxyz'

it should return 'abcde'

Actual result:
--------------
nothing.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-03 03:03 UTC] moriyoshi@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2003-11-17 18:16 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 17:01:29 2024 UTC