| Q |
A |
| Version |
current develop |
| PHP version |
8.3 |
| Operating system |
|
Good afternoon. In BitColumnSchema::phpTypecast there is an error in the returned type. As you can see from the documentation, the bindec function can return int|float, while phpTypecast int|null.
In my case, it is a field of type bit varying with the following content for exaple 1100000100011100100110001011000010100000001011001101111011100000 (p-hash images to find duplicates). And on the output I need a string in the same form. Maybe for this type it is not necessary to convert the type to a decimal number. Thanks
Good afternoon. In
BitColumnSchema::phpTypecastthere is an error in the returned type. As you can see from the documentation, thebindecfunction can return int|float, whilephpTypecastint|null.In my case, it is a field of type
bit varyingwith the following content for exaple1100000100011100100110001011000010100000001011001101111011100000(p-hash images to find duplicates). And on the output I need a string in the same form. Maybe for this type it is not necessary to convert the type to a decimal number. Thanks