<?php $images = ['/tmp/php59iuBb', '/tmp/phpdRewVH', 'PicturesI.jpg', 'Screenshot.png']; $images = array_filter($images, function ($image) { return pathinfo($image, PATHINFO_DIRNAME) !== '/tmp'; }); print_r($images);
You have javascript disabled. You will not be able to edit any code.