Giter Site home page Giter Site logo

Comments (4)

rybakit avatar rybakit commented on July 19, 2024

It works for me without any error or warning.
PHP 5.5.9, msgpack 0.5.6 beta.

from msgpack-php.

ecyuan avatar ecyuan commented on July 19, 2024

My env is : msgpack 0.5.6-dev. PHP 5.5.9-1ubuntu4.11 (cli) (built: Jul 2 2015 15:23:08)

from msgpack-php.

Sean-Der avatar Sean-Der commented on July 19, 2024

Hi @ecyuan!

Thanks for using mspack, sorry to say I am getting the same results as @rybakit

?php
var_dump(msgpack_unserialize(base64_decode('3AAdrGFvanBxMjNCcDVlaNkkYzgxZmJlNjAtMzg4NC00ZWZlLWFlZjQtNjZlOGEzMzcwYWNlrzY5MTEwODI2MDY3OTU2M7E2QTo2MzpBRTpEQTo0Mzo1MKCgsjY4MTU0OTI2MTgyMDY2MTc2MKCgoKCgoAGiREWgoKCgoKCm5YW25LuWoM5WMyPDoKCgoKJlbg==')));

Gives me

array(29) {
  [0]=>
  string(12) "aojpq23Bp5eh"
  [1]=>
  string(36) "c81fbe60-3884-4efe-aef4-66e8a3370ace"
  [2]=>
  string(15) "691108260679563"
  [3]=>
  string(17) "6A:63:AE:DA:43:50"
  [4]=>
  string(0) ""
  [5]=>
  string(0) ""
  [6]=>
  string(18) "681549261820661760"
  [7]=>
  string(0) ""
  [8]=>
  string(0) ""
  [9]=>
  string(0) ""
  [10]=>
  string(0) ""
  [11]=>
  string(0) ""
  [12]=>
  string(0) ""
  [13]=>
  int(1)
  [14]=>
  string(2) "DE"
  [15]=>
  string(0) ""
  [16]=>
  string(0) ""
  [17]=>
  string(0) ""
  [18]=>
  string(0) ""
  [19]=>
  string(0) ""
  [20]=>
  string(0) ""
  [21]=>
  string(6) "ε…Άδ»–"
  [22]=>
  string(0) ""
  [23]=>
  int(1446192067)
  [24]=>
  string(0) ""
  [25]=>
  string(0) ""
  [26]=>
  string(0) ""
  [27]=>
  string(0) ""
  [28]=>
  string(2) "en"
}

I am using PHP 5.5.31-dev (cli) (built: Oct 22 2015 16:26:18) (DEBUG)

With a msgpack built from the current HEAD of the master branch 105961a93599a5a12f2e33eaebe7b25ac69f1984

Mind rebuilding from git, and maybe double checking you don't have any old versions of msgpack in unexpected places?

thanks (sorry about the accidental close tabbed into it)!

from msgpack-php.

Sean-Der avatar Sean-Der commented on July 19, 2024

Close this for now @ecyuan feel free to reopen if this is still an issue, thanks!

from msgpack-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.