Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6774829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:50:03+00:00 2026-05-26T15:50:03+00:00

curl_version() returns (among other things) a 24-bit version number as well as the version

  • 0

curl_version() returns (among other things) a 24-bit version number as well as the version string. 24-bit version number 463623 corresponds to string version 7.19.7.

Is there a simple algorithm for converting the 24-bit version to the string?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:50:04+00:00Added an answer on May 26, 2026 at 3:50 pm

    You mean this version number?

    $v = curl_version();
    echo $v['version']; # e.g. 7.15.5
    

    It’s easy to decipher:

    $v = curl_version();
    $n = $v['version_number'];
    printf("%06x", $n); # e.g. 070f05
    

    The version number is hex-decimal, 3 values, pick each one, convert to decimal:

       07: 7
       0f: 15
       05: 5
    

    See: http://curl.haxx.se/docs/versions.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have CruiseControl.NET version 1.4.4.83, and I am wondering if there it provides a
I have noticed that cURL in PHP returns different data when told to output
Is there a cURL library for Ruby?
I have a console program on windows (a compiled version of curl command line)
Looking for a ColdFusion version of the following PHP API wrapper for CapsuleCRM: <?php
What is the correct way to parse a string using regular expressions in a
In order to check for newer version, one has to know the current version
How can I find out what curl version a specific Windows binary is running
I have a Grails app running on 1.3.7 with the json-rest-api plugin version 1.0.8
curl_unescape doesnt seem to be in pycurl, what do i use instead?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.