Return to bug22207.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
1.1 ! misho 1: --TEST-- ! 2: Bug #22207 (missing 0 when using the e notation in *printf functions) ! 3: --FILE-- ! 4: <?php ! 5: printf("%10.5e\n", 1.1); ! 6: var_dump(sprintf("%10.5e\n", 1.1)); ! 7: ?> ! 8: --EXPECT-- ! 9: 1.10000e+0 ! 10: string(11) "1.10000e+0 ! 11: "