(PECL rpminfo >= 1.2.0)
rpmexpandnumeric — Retrieve numerical value of a RPM macro
text
Macro expansion as a int.
Boolean values (Y or y returns 1,
N or n returns 0)
are permitted as well.
An undefined macro returns 0.
Örnek 1 A rpmexpandnumeric() example
<?php
$bits = rpmexpandnumeric("%__isa_bits");
print_r($bits);
?>Yukarıdaki örneğin çıktısı:
64