namespaceId)) { $parts = str_split( base64_encode( file_get_contents($argv[2]) ), isset($argv[3]) && $argv[3] <= 3072 ? (int) $argv[3] : 3072 // 3072 bytes limit ); foreach ($parts as $key => $value) { $kevaPut = _exec( $argv[1], sprintf( '%s %s %s %s', 'keva_put', $kevaNamespace->namespaceId, $key, $value ) ); print_r($kevaPut); } }