Log 4772

$total_time = 0;
$str = ‘#סה\”כ#’;
$pattern = ‘/(d+)sשעותs(d+)sדקות/’;
preg_match($pattern, $str, $matches);
if (!empty($matches)) {
$hours = (int) $matches[1];
$minutes = (int) $matches[2];
$total_time += ($hours * 60) + $minutes;
}
return intval($total_time);

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare