Example #1
0
 /**
  * Test ac_let_to_num()
  *
  * @since 1.0.0
  */
 public function ac_let_to_num()
 {
     $sizes = array('10K' => 10240, '10M' => 10485760, '10G' => 10737418240, '10T' => 10995116277760, '10P' => 11258999068426240);
     foreach ($sizes as $notation => $size) {
         $this->assertEquals($size, ac_let_to_num($notation));
     }
 }
</td>
		</tr>
		<?php 
if (function_exists('ini_get')) {
    ?>
			<tr>
				<td data-export-label="PHP Post Max Size"><?php 
    _e('PHP post max size', 'axiscomposer');
    ?>
:</td>
				<td class="help"><?php 
    echo ac_help_tip(__('The largest filesize that can be contained in one post.', 'axiscomposer'));
    ?>
</td>
				<td><?php 
    echo size_format(ac_let_to_num(ini_get('post_max_size')));
    ?>
</td>
			</tr>
			<tr>
				<td data-export-label="PHP Time Limit"><?php 
    _e('PHP time limit', 'axiscomposer');
    ?>
:</td>
				<td class="help"><?php 
    echo ac_help_tip(__('The amount of time (in seconds) that your site will spend on a single operation before timing out (to avoid server lockups)', 'axiscomposer'));
    ?>
</td>
				<td><?php 
    echo ini_get('max_execution_time');
    ?>