subtract array values from each other creating new array
问题 On my site I have the following code, which grabs values from a form and creates a text file with a list of my image paths and duration times. -- /* This is for looping through the uploaded pictures and sorting them and creating a text file. */ $vid_pix = get_post_meta($v_Id, 'vid_pix', false); $data = "ffconcat version 1.0"; $line = ''; usort( $vid_pix, function( $a, $b ){ $aPor = (int) get_post_meta( $a, 'photo_order', true ); $bPor = (int) get_post_meta( $b, 'photo_order', true ); if (